-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
executable file
·55 lines (55 loc) · 1.4 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
45
46
47
48
49
50
51
52
53
54
55
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0
hooks:
- id: check-ast
language_version: python3
- id: check-json
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
args:
- --fix=lf
- repo: git://github.com/pre-commit/mirrors-pylint
rev: v1.9.1
hooks:
- id: pylint
args:
- --rcfile=.pylintrc
language_version: python3
exclude: >
(?x)^(
docs/.+|
punch_version.py|
punch_config.py|
)$
- repo: git://github.com/asottile/reorder_python_imports
rev: v1.0.1
hooks:
- id: reorder-python-imports
language_version: python3
exclude: docs/*
- repo: git://github.com/FalconSocial/pre-commit-mirrors-pep257
rev: v0.3.3
hooks:
- id: pep257
args:
- --ignore=D301,D203
language_version: python3
exclude: >
(?x)^(
docs/.+|
punch_version.py|
punch_config.py|
)$
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
args: [--line-length=120, --safe]
python-version: python3.6
exclude: >
(?x)^(
docs/.+|
punch_version.py|
punch_config.py
)$