summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-12-31 18:05:28 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-12-31 19:01:22 +0100
commit6f74941c2649b6154dee860417b8b4a576d19974 (patch)
tree297eb728971776b7c58857bb3a137771dcd57f49
parentfc891f5cf6d93ad533e2afb5e15a2952408ab358 (diff)
downloadpython-setuptools-git-6f74941c2649b6154dee860417b8b4a576d19974.tar.gz
Enable McCabe complexity check in flake8
-rw-r--r--.flake83
1 files changed, 3 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
index 8bc2d270..f6a5cc86 100644
--- a/.flake8
+++ b/.flake8
@@ -12,3 +12,6 @@ ignore =
E203
setuptools/site-patch.py F821
setuptools/py*compat.py F811
+
+# Let's not overcomplicate the code:
+max-complexity = 10