From 4ffdd9da0e03d27538d0c1fb5709486c64b4b508 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 19 Dec 2017 08:57:33 +0100 Subject: [PATCH] Add new B008 to flake8 ignores --- .flake8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,