You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
F401 (imported but unused) false positive on Foo when using def x(a: Foo, /, *, b: Bar) #507
confirmed. #508 contains a fix -- please review the code change / validate the fix if you can (pyflakes has a 2-reviewer sign off which can make it difficult to land changes)
changed the title [-]F401 (imported but unused) false positive on Bar when using def x(a: Foo, /, *, b: Bar)[/-][+]F401 (imported but unused) false positive on Foo when using def x(a: Foo, /, *, b: Bar)[/+]on Jan 17, 2020
until both pyflakes and flake8 make their next release the only option for getting this changeset through flake8 is to install pyflakes from git alongside flake8 -- you can do that through pip install git+https://github.com/pycqa/pyflakes@revision_here -- if you're using this through pre-commit for some reason you need -e git+... 🤷♂️
Okay signed off on this one. I'll keep the need for review in mind for the future. Right now I'm working more than I have in a long time, no cycles to spare. I'll keep this in mind after the deadline passes, though.
Activity
asottile commentedon Jan 17, 2020
confirmed. #508 contains a fix -- please review the code change / validate the fix if you can (pyflakes has a 2-reviewer sign off which can make it difficult to land changes)
[-]F401 (imported but unused) false positive on Bar when using def x(a: Foo, /, *, b: Bar)[/-][+]F401 (imported but unused) false positive on Foo when using def x(a: Foo, /, *, b: Bar)[/+]mikeholler commentedon Jan 17, 2020
WOW this is fast. I will try to get to it in the next couple hours. How do we get it into
flake8?asottile commentedon Jan 17, 2020
until both pyflakes and flake8 make their next release the only option for getting this changeset through flake8 is to install
pyflakesfromgitalongside flake8 -- you can do that throughpip install git+https://github.com/pycqa/pyflakes@revision_here-- if you're using this throughpre-commitfor some reason you need-e git+...🤷♂️asottile commentedon Jan 17, 2020
additionally if you have some spare cycles, reviewing some of the other open PRs would be greatly appreciated 🙏
mikeholler commentedon Jan 17, 2020
Okay signed off on this one. I'll keep the need for review in mind for the future. Right now I'm working more than I have in a long time, no cycles to spare. I'll keep this in mind after the deadline passes, though.