Regression: flake8 --statistics and -qq options broken
- Version of Python which has Flake8 installed (e.g.,
python -V
): both 2.7.6 and 3.4.3 - How you installed Flake8 (e.g.,
pip
,apt
,yum
, etc.): pip- If you used pip, the version of pip installed (e.g.,
pip --version
): 8.1.2
- If you used pip, the version of pip installed (e.g.,
- Version of setuptools installed (e.g.,
python -c 'import setuptools; print(setuptools.__version__)'
): 24.0.3 - Version of Flake8 installed (i.e., copy and paste all of the output from
flake8 --version
): 3.0.0
$flake8 -qq --statistics .
./lib/galaxy/webapps/tool_shed/model/__init__.py:507:71: F821 undefined name 'xrange'
...
./tools/stats/filtering.py:243:13: E999 SyntaxError: invalid syntax
./tools/stats/grouping.py:171:13: E999 SyntaxError: invalid syntax
The -qq
should have silenced all those lines. Also statistics are not printed.
Previously (in flake8 2.6.2) the correct output was:
131 E901 SyntaxError: invalid syntax
25 F821 undefined name 'basestring'