-
Notifications
You must be signed in to change notification settings - Fork 46
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
Honor ignore in setup.cfg / tox.ini #30
Comments
…ction * Fixes issue tholo#30 * Adds a test with a flake8 section * Adds a simple if statement to control overwrites on ignores
I think this was corrected in #21 |
Cool. Thanks! Is this in the latest release on Pypi (it looks like it was most recently updated in the last 24 hours)? From a review standpoint, I would have probably added a test or two to validate. |
Having this issue too and I was about to file a bug. Currently the only way to commonly ignore some kinds of errors (e.g. style problems in django-generated migrations) independent of wether flake8 is run directly or via pytest is to annotate/comment in the files directly. I'd stringly prefer that I can configure all flake8 stuff in a pytest independent way so however flake8 is run later, it will be configured correctly. |
Fixed in #31 |
Currently
pytest-flake8
will ignore/override the standard [flake8] ignore section even if flake8-ignore is not present within the [tool:pytest] section. The default behavior should be to honor the settings in the [flake8] section withinsetup.cfg
ortox.ini
.The text was updated successfully, but these errors were encountered: