Skip to content

Commit 06a2edf

Browse files
committed
use settings from tox.ini in .pre-commit-config.yaml
1 parent f626f59 commit 06a2edf

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,15 @@ repos:
1818
hooks:
1919
- id: pyupgrade
2020
args: ['--py36-plus']
21-
- repo: https://github.com/pre-commit/mirrors-isort
22-
rev: v4.3.21
23-
hooks:
24-
- id: isort
25-
args:
26-
- --multi-line=3
27-
- --trailing-comma
28-
- --force-grid-wrap=0
29-
- --use-parentheses
30-
- --line-width=88
3121
- repo: https://github.com/asottile/seed-isort-config
3222
rev: v1.9.3
3323
hooks:
3424
- id: seed-isort-config
25+
- repo: https://github.com/pre-commit/mirrors-isort
26+
rev: v4.3.21
27+
hooks:
28+
- id: isort
3529
- repo: https://gitlab.com/pycqa/flake8
3630
rev: 3.7.9
3731
hooks:
3832
- id: flake8
39-
args:
40-
- --max-line-length=500
41-
- --ignore=E203,E266,E501,W503
42-
- --max-complexity=18
43-
- --select=B,C,E,F,W,T4,B9

0 commit comments

Comments
 (0)