-
Notifications
You must be signed in to change notification settings - Fork 47
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
This plugin produces very verbose output #42
Comments
This actually appears to be new behavior from pytest -- not from the pytest-flake8 plugin, in that it will print anything that has been logged through the logging module automatically. And the code being tested logs a fair bit of things with severity DEBUG. |
Just stumbled on exactly the same issue, with another project.
in
|
Again, this is due to |
This output turns off via |
All right. Don't know if that is how to do it after |
Both |
The solution here is not set logging.getLogger('flake8').setLevel(logging.WARN) |
Apparently the current pytest version ( |
I'm still experiencing this issue. Someone submitted a pull request to a project I have configured with pytest-flake8. When they did, they got this output corresponding to about 24 flake8 issues. This uber-verbose output renders the CI output essentially unusable. I would expect the default behavior of pytest-flake8 would be not to emit debug logging unless explicitly requested. Is there any way you can make the default behavior less verbose, or do you genuinely think all users of pytest-flake8 should be configuring the log level using |
Quick solution: Add a file
|
I'm still having this issue and none of the suggested fixes work for me 😢. I tried adding Below is part of the output I'm getting. The full log runs to >11,000 (!) lines, for a measly 14 errors.
|
Recently
pytest-flake8
plugin started to produce very verbose output. And I can switch it off.Here's the repo to reproduce this bug: https://github.com/wemake-services/wemake-django-template
Software versions
Versions:
I use
python3.6
.3.6.2
is the most recent one.Steps to reproduce
pipenv install --dev
pytest
Output
Here it is:
The text was updated successfully, but these errors were encountered: