Use per-file-ignores built into the new flake8
This commit is contained in:
parent
018d207941
commit
62059c27f3
11
.flake8
11
.flake8
@ -46,12 +46,11 @@ ignore =
|
||||
min-version = 3.4.0
|
||||
max-complexity = 12
|
||||
per-file-ignores =
|
||||
/qutebrowser/api/hook.py : N801
|
||||
/tests/**/*.py : D100,D101,D401
|
||||
/tests/unit/browser/test_history.py : N806
|
||||
/tests/helpers/fixtures.py : N806
|
||||
/tests/unit/browser/webkit/http/test_content_disposition.py : D400
|
||||
/scripts/dev/ci/appveyor_install.py : FI53
|
||||
qutebrowser/api/hook.py : N801
|
||||
tests/* : D100,D101
|
||||
tests/unit/browser/test_history.py : D100,D101,N806
|
||||
tests/helpers/fixtures.py : D100,D101,N806
|
||||
tests/unit/browser/webkit/http/test_content_disposition.py : D100,D101,D400
|
||||
copyright-check = True
|
||||
copyright-regexp = # Copyright [\d-]+ .*
|
||||
copyright-min-file-size = 110
|
||||
|
@ -1,6 +1,7 @@
|
||||
# This file is automatically generated by scripts/dev/recompile_requirements.py
|
||||
|
||||
attrs==18.2.0
|
||||
entrypoints==0.3
|
||||
flake8==3.7.5
|
||||
flake8-bugbear==18.8.0
|
||||
flake8-builtins==1.4.1
|
||||
@ -11,17 +12,14 @@ flake8-deprecated==1.3
|
||||
flake8-docstrings==1.3.0
|
||||
flake8-future-import==0.4.5
|
||||
flake8-mock==0.3
|
||||
flake8-per-file-ignores==0.8.1
|
||||
flake8-polyfill==1.0.2
|
||||
flake8-string-format==0.2.3
|
||||
flake8-tidy-imports==2.0.0
|
||||
flake8-tuple==0.2.13
|
||||
mccabe==0.6.1
|
||||
pathmatch==0.2.1
|
||||
pep8-naming==0.8.2
|
||||
pycodestyle==2.5.0
|
||||
pydocstyle==3.0.0
|
||||
pyflakes==2.1.0
|
||||
six==1.12.0
|
||||
snowballstemmer==1.2.1
|
||||
typing==3.6.6
|
||||
|
@ -8,7 +8,6 @@ flake8-deprecated
|
||||
flake8-docstrings
|
||||
flake8-future-import
|
||||
flake8-mock
|
||||
flake8-per-file-ignores
|
||||
flake8-string-format
|
||||
flake8-tidy-imports
|
||||
flake8-tuple
|
||||
|
Loading…
Reference in New Issue
Block a user