Add known_third_party to isort and pre-commit
This commit is contained in:
parent
7f7d179793
commit
f9ced38512
2 changed files with 9 additions and 1 deletions
|
@ -20,13 +20,18 @@ repos:
|
|||
- id: flake8
|
||||
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
|
||||
|
||||
- repo: https://github.com/asottile/seed-isort-config
|
||||
rev: v1.9.4
|
||||
hooks:
|
||||
- id: seed-isort-config
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-isort
|
||||
rev: v4.3.21
|
||||
hooks:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||
rev: v1.4.2
|
||||
rev: v1.4.3
|
||||
hooks:
|
||||
- id: python-check-blanket-noqa
|
||||
|
||||
|
|
|
@ -4,3 +4,6 @@ universal = 1
|
|||
[flake8]
|
||||
ignore = W503
|
||||
max_line_length = 88
|
||||
|
||||
[tool:isort]
|
||||
known_third_party = flaky,pkg_resources,pylast,pytest,setuptools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue