-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
.pre-commit-config.yaml
44 lines (41 loc) · 1.08 KB
/
.pre-commit-config.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
ci:
autoupdate_schedule: quarterly
exclude: '^tests/examples/.*\.html$'
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: fix-byte-order-marker
- id: fix-encoding-pragma
args: [--remove]
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: ^tests/examples/pacer/nef/s3/.*\.txt$
- repo: https://github.com/ikamensh/flynt/
rev: '1.0.1'
hooks:
- id: flynt
args: [--line-length=79, --transform-concats]
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
additional_dependencies: ['click==8.0.4']
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)