Add known_third_party to isort and pre-commit

This commit is contained in:
Hugo 2020-01-03 13:23:01 +02:00
parent 7f7d179793
commit f9ced38512
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -4,3 +4,6 @@ universal = 1
[flake8]
ignore = W503
max_line_length = 88
[tool:isort]
known_third_party = flaky,pkg_resources,pylast,pytest,setuptools