plone / plone.recipe.codeanalysis

provides static code analysis for Buildout-based Python projects, including flake8, JSHint, CSS Lint, and other code checks
https://pypi.org/project/plone.recipe.codeanalysis/
11 stars 8 forks source link

error: no such option: --max-complexity #195

Closed idgserpro closed 7 years ago

idgserpro commented 8 years ago

New version 3.0b1 of flake8 causes the error below:

./bin/code-analysis
JSHint...............................[ OK ] in 0.010s
Check clean lines....................[ OK ] in 0.036s
Flake8..........................[ FAILURE ] in 0.128s
Usage: flake8 [options] file file ...

flake8: error: no such option: --max-complexity
The command "bin/code-analysis" exited with 1 in 0.138s.
idgserpro commented 7 years ago

After version 3.0.0 of flake8 this error no longer occurs.