summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorRyan Farley <ryan.farley@gmx.com>2017-11-24 09:25:01 -0600
committerRyan Farley <ryan.farley@gmx.com>2017-11-26 00:16:14 -0600
commit5ed801911595cc7b485db66196b5fcb9017ec4d9 (patch)
treee69692575d98be9a376270d256747f20efa6d96f /.flake8
parent03a9cbdfb446ba0f5d94fc6def889183fc03184b (diff)
downloadqutebrowser-5ed801911595cc7b485db66196b5fcb9017ec4d9.tar.gz
qutebrowser-5ed801911595cc7b485db66196b5fcb9017ec4d9.zip
update flake8 and flake8-deprecated
Updated requirements and adjusted the configuration in `.flake8`; other files have been modified where the lack of per-file auto-ignore caused problems, where putty's `# flake8: disable=` syntax could be replaced with a simpler `noqa`, or where pylint directives already suppressed the same error.
Diffstat (limited to '.flake8')
-rw-r--r--.flake818
1 files changed, 6 insertions, 12 deletions
diff --git a/.flake8 b/.flake8
index 1d33859fc..e29e7037c 100644
--- a/.flake8
+++ b/.flake8
@@ -33,18 +33,12 @@ ignore =
D102,D103,D104,D105,D209,D211,D402,D403
min-version = 3.4.0
max-complexity = 12
-putty-auto-ignore = True
-putty-ignore =
- /# pylint: disable=invalid-name/ : +N801,N806
- /# pragma: no mccabe/ : +C901
- tests/*/test_*.py : +D100,D101,D401
- tests/conftest.py : +F403
- 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
- # FIXME:conf
- tests/unit/completion/test_models.py : +F821
+per-file-ignores =
+ tests/*/test_*.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
copyright-check = True
copyright-regexp = # Copyright [\d-]+ .*
copyright-min-file-size = 110