summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index eb7d6f38..f5dca363 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,7 +25,15 @@ include_trailing_comma = True
skip_glob = tests/testdata
[flake8]
-extend-ignore = E203,E266,E501,C901,F401
+extend-ignore =
+ C901, # Function complexity checker
+ F401, # Unused imports
+ E203, # Incompatible with black see https://github.com/psf/black/issues/315
+ W503, # Incompatible with black
+ E501, # Line too long
+ B950, # Line too long
+ B901 # Combine yield and return statements in one function
+max-line-length=88
max-complexity = 20
select = B,C,E,F,W,T4,B9
# Required for flake8-typing-imports (v1.12.0)