summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-12-19 08:57:33 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-12-19 08:57:33 +0100
commit4ffdd9da0e03d27538d0c1fb5709486c64b4b508 (patch)
tree1562f75616c5564c288390d515bd66f8c5bcbd2a /.flake8
parentfde0516ccf000b95177feb5bc16c4efe340baacb (diff)
downloadqutebrowser-4ffdd9da0e03d27538d0c1fb5709486c64b4b508.tar.gz
qutebrowser-4ffdd9da0e03d27538d0c1fb5709486c64b4b508.zip
Add new B008 to flake8 ignores
Diffstat (limited to '.flake8')
-rw-r--r--.flake83
1 files changed, 2 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index 06883f526..340132d49 100644
--- a/.flake8
+++ b/.flake8
@@ -1,6 +1,7 @@
[flake8]
exclude = .*,__pycache__,resources.py
# B001: bare except
+# B008: Do not perform calls in argument defaults. (fine with some Qt stuff)
# B305: .next() (false-positives)
# E128: continuation line under-indented for visual indent
# E226: missing whitespace around arithmetic operator
@@ -33,7 +34,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,
+ B001,B008,B305,
E128,E226,E265,E501,E402,E266,E722,E731,
F401,
N802,