-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running flake8 with -quiet doesn't write a html report #9
Comments
Same issue |
I investigated this a little, but it seems that the handling of the That said, it appears that there are already entry points for the --quiet mode formatters so perhaps a simple code change would allow formatter plugins to handle the --quiet option themselves. I think it is confusing that that flake8 doesn't print an error if both |
Reported upstream as issue #404 (issue not found). |
I have the same issue :
In one of my build steps in |
$ pip freeze | grep -i flake8
flake8==3.3.0
flake8-html==0.4.0
$ python --version
Python 3.5.3
$ uname -a
Linux hostname 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux
$ cat /etc/debian_version
9.0
flake8-html doesn't write HTML reports
I hooked flake8-html into our CI and wanted to suppress output with -qq, but no reports were generated. While testing it turned out that even a single --quiet will prevent the reports from being written to disk.
What I Did
flake8 --format=html --htmldir=tmp --exit-zero --quiet
$ ls -ld tmp
ls: cannot access 'tmp': No such file or directory
The text was updated successfully, but these errors were encountered: