File: .pre-commit-config.yaml

package info (click to toggle)
git-cola 4.17.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 6,928 kB
  • sloc: python: 38,426; sh: 298; makefile: 223; xml: 115; tcl: 62
file content (27 lines) | stat: -rw-r--r-- 600 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ci:
  autoupdate_schedule: monthly

exclude: qtpy/|test/fixtures/|\.rtf$|PkgInfo$

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks.git
    rev: v6.0.0
    hooks:
      - id: end-of-file-fixer
      - id: trailing-whitespace

  - repo: https://github.com/asottile/pyupgrade
    rev: v3.21.2
    hooks:
      - id: pyupgrade
        name: Enforce Python 3.6 idioms
        args:
          - --py36-plus

  - repo: https://github.com/jsh9/cercis
    rev: 0.2.5
    hooks:
      - id: cercis
        args:
          - --line-length=88
          - --function-definition-extra-indent=False