hacking not compatible with flake8 3.0.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hacking |
New
|
Undecided
|
Unassigned |
Bug Description
I use flake8+hacking with a project outside of OpenStack and it just started failing. It appears to be an incompatibility between flake8 3.0.x and hacking. The error goes away after I remove hacking. Things also work if I install flake8<3.0.
I see that the issue has been reported against flake8, as well. https:/
The error I get is:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/usr/lib/
checker.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
results = self.run_
File "/usr/lib/
self.
File "/usr/lib/
arguments[
AttributeError: 'FileProcessor' object has no attribute 'physical_line'
Well, it seems to work now without stack tracing with current flake8 (3.3.0) in that running flake8 will report hacking problems (such as H304). However, hacking still , but hacking 0.13.0 still explicitly states dependencies on flake8, pyflakes and mccabe at older versions:
flake8< 2.6.0,> =2.5.4
pyflakes==0.8.1
mccabe==0.2.1