cleaned up (and getting eady for max-complexity=10)
[flake8]
-exclude = .tox, *.egg, build, data
+exclude =
+ # No need to traverse the git directory
+ .git,
+ # No value in checking cache directories
+ __pycache__,
+ # The conf file is mostly autogenerated, ignore it
+ docs/source/conf.py,
+ .tox,
+ *.egg
max-line-length = 80
# B950: Line too long. It considers "max-line-length"
# but only triggers when the value has been exceeded
@@ -8,6 +16,9 @@ max-line-length = 80
select = C,E,F,W,B,B950
# E203 and W503 are not PEP 8 compliant
ignore = E203, E501, W503
+# emit a warning for high McCabe complexity
+# See https://en.wikipedia.org/wiki/Cyclomatic_complexity
+# max-complexity = 10
[tool:pytest]
# temporary patch for VScode; it should become junit_family=xunit1 asap
