Stops working after upgrading flake8 from 2.5.5 to 2.6.0
See original GitHub issuelinter-flake8
has stopped working after I upgraded flake8
from 2.5.5 to 2.6.0 using pip
. I am not sure if this is a bug with linter-flake8
or flake8
though. If it is the latter, please let me know so that I can file a bug report with flake8
instead.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
5.0.0 fails with flake8 · Issue #406
When installing hacking from a wheel, it gets 4.1.0, which depends on flake8 3.8.x and flake8 3.8.x doesn't pin importlib_metadata.
Read more >Changes — flake8 2.5.5 documentation
Bug Files excluded in a config file were not being excluded when flake8 was ... by upgrading dependencies; Fix traceback when running tests...
Read more >flake8 2.6.0
Fix crashes with Python 3.4 by upgrading dependencies. Fix traceback when running tests with Python 2.6. Fix the setuptools command python setup.py flake8...
Read more >flake8 Documentation
A plugin that augments the output of Flake8 when passed to flake8 ... Note: Installing Flake8 once will not install it on both...
Read more >1377125 – python-hacking doesn't work with flake8 3.x
I've updated flake8 to 3.0.4 in rawhide, and after doing that ... Looking at hacking upstream, it seems updating flake8 was a bit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like this has been fixed after the latest update to
linter
to1.11.14
. Please feel free to close this issue, thanks!flake8 --version
gives2.6.0 (pycodestyle: 2.0.0, pyflakes: 1.2.3, mccabe: 0.5.0, flake8-docstrings: 0.2.7, pep257: 0.7.0, hacking.core: 0.0.1, ProxyChecker: 0.0.1) CPython 3.5.1+ on Linux
.Without commenting out the definition for
b
,flake8 foo.py
gives:Commenting out,
flake8 foo.py
gives:I also did the same test with Python 2.7.11. In Atom, running the same code without commenting out the definition for
b
giveswhile commenting it out gives
It seems the
D100
warning should also have appeared when the definition ofb
is not commented out but intriguingly, it only appears after the definition ofb
is commented out.