summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-11-26 21:49:37 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-11-26 21:50:12 +0100
commit75a8938e83709073b182fb2e0d197e758c7c0def (patch)
tree1cfc8d7eb3db829acf3ba610a6d6165a04d49105 /.flake8
parent248a12a8b91e15ba0a997daad23f0fe751f3a9d6 (diff)
downloadqutebrowser-75a8938e83709073b182fb2e0d197e758c7c0def.tar.gz
qutebrowser-75a8938e83709073b182fb2e0d197e758c7c0def.zip
Add flake8-bugbear
Diffstat (limited to '.flake8')
-rw-r--r--.flake83
1 files changed, 3 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
index 74f68c27a..06883f526 100644
--- a/.flake8
+++ b/.flake8
@@ -1,5 +1,7 @@
[flake8]
exclude = .*,__pycache__,resources.py
+# B001: bare except
+# B305: .next() (false-positives)
# E128: continuation line under-indented for visual indent
# E226: missing whitespace around arithmetic operator
# E265: Block comment should start with '#'
@@ -31,6 +33,7 @@ exclude = .*,__pycache__,resources.py
# D413: Missing blank line after last section (not in pep257?)
# A003: Builtin name for class attribute (needed for attrs)
ignore =
+ B001,B305,
E128,E226,E265,E501,E402,E266,E722,E731,
F401,
N802,