summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-08-23 07:47:48 +0200
committerFlorian Bruhin <git@the-compiler.org>2016-08-23 07:47:48 +0200
commit42b177474ab98b3696f9d40cfc7a9b9468974a0e (patch)
tree35ff4336a8f887d2b0d15dc0f4efe723eb475e3e /.flake8
parent77aa8b4337c8150c58f04ad0e55d46f0586fedf1 (diff)
downloadqutebrowser-42b177474ab98b3696f9d40cfc7a9b9468974a0e.tar.gz
qutebrowser-42b177474ab98b3696f9d40cfc7a9b9468974a0e.zip
flake8: Ignore E731 (do not assign a lambda expr)
Diffstat (limited to '.flake8')
-rw-r--r--.flake84
1 files changed, 3 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index 8fc9e3230..940b5b04c 100644
--- a/.flake8
+++ b/.flake8
@@ -6,6 +6,8 @@ exclude = .*,__pycache__,resources.py
# E501: Line too long
# E402: module level import not at top of file
# E266: too many leading '#' for block comment
+# E731: do not assign a lambda expression, use a def
+# (for pytest's __tracebackhide__)
# F401: Unused import
# N802: function name should be lowercase
# P101: format string does contain unindexed parameters
@@ -27,7 +29,7 @@ exclude = .*,__pycache__,resources.py
# H301: one import per line
# H306: imports not in alphabetical order
ignore =
- E128,E226,E265,E501,E402,E266,
+ E128,E226,E265,E501,E402,E266,E731,
F401,
N802,
P101,P102,P103,