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
failes with upcoming flake8 3.8.0 #66
Comments
I have a V2 of this plugin which works (at least for me) with flake8 3.7 and 3.8. It's clonable from: https://github.com/bobhy/pytest-flake8, be sure to checkout branch use_flake8_config. Note, if you try this, it depends on flake8 config file almost exclusively. |
could we update the title to include the error? was just pulling my hair out trying to figure out why my ci/cd just started failing out of the blue with this error :) |
I just added a PR that fixed this: #68 |
I just got this error with A work-around until this one is fixed seems to be to pin |
@MartinThoma thank you so much, I got this while trying to fix a CI chain for an old project that I want to revive & port forward. I'm definitely not the right person to do that, but the one that does it. You saved me a lot of time now!
|
* Pin TravisCI badge to the develop branch. Fixes #248. * Pin flake8 to version 3.7.9. See tholo/pytest-flake8#66 (comment)
Mainly required to fix pytest-flake8 behavior with recent versions of Flake8. See tholo/pytest-flake8#66.
pytest-flake8 uses private APIs of flake8. One of these APIs was removed in flake8 3.8, which temporarily broke pytest-flake8. This was fixed in pytest-flake8 v1.0.6. References: Github Issue describing the bug: tholo/pytest-flake8#66 Fix: tholo/pytest-flake8#68 Release tag that includes fix: https://github.com/tholo/pytest-flake8/releases/tag/1.0.6
With the recently released flake8 3.8.0a2 the plugin fails:
The text was updated successfully, but these errors were encountered: