We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc6dd7 commit 444a5a9Copy full SHA for 444a5a9
requirements-dev.txt
@@ -4,6 +4,7 @@ black~=21.7b0 # pycharm error on this is ok
4
coverage[toml]~=5.5
5
flake8~=3.9.2
6
interrogate~=1.4.0
7
+mccabe~=0.6.1 # check McCabe complexity. see https://github.com/PyCQA/mccabe
8
isort~=5.9.3
9
mypy==0.910
10
pre-commit~=2.13.0
setup.cfg
@@ -10,6 +10,9 @@ exclude =
ignore = E731,W503,E501
11
count = True
12
statistics = True
13
+# mccabe flake8 plugin, set the maximum allowed McCabe complexity value
14
+# see https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-max-complexity
15
+max-complexity = 7
16
max-line-length = 120
17
# flake8-copyright plugin, see https://github.com/savoirfairelinux/flake8-copyright
18
copyright-check = True
0 commit comments