-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
F821 undefined name gives wrong line number (alwasy line 1) when variable is in an f-string #562
Comments
In GitLab by @samuelcolvin on Feb 22, 2017, 06:10 sorry, realised this should have been posted to pyflakes. |
In GitLab by @samuelcolvin on Feb 22, 2017, 06:10 closed |
In GitLab by @samuelcolvin on Feb 22, 2017, 06:18 Error in pyflakes it slightly different, I'm now a bit confused about whether this should be posted here or on the pyflakes' launchpad. I'll leave it open here, let me know if you want me to close here and resubmit elsewhere. |
In GitLab by @samuelcolvin on Feb 22, 2017, 06:18 reopened |
In GitLab by @sigmavirus24 on Feb 22, 2017, 06:27 So https://bugs.launchpad.net/pyflakes/+bug/1666811 was reported this morning. PyFlakes doesn't report columns so the error may be slightly dissimilar. That said, this is definitely a bug in pyflakes. |
In GitLab by @samuelcolvin on Feb 22, 2017, 06:29 Thanks, sorry for missing that. I'm guessing you want the issue left open until it's fixed upstream? |
In GitLab by @blueyed on Feb 15, 2018, 16:18 According to https://bugs.launchpad.net/pyflakes/+bug/1666811/comments/3 this is fixed/improved with Python 3.6.3. |
In GitLab by @sigmavirus24 on Oct 20, 2018, 10:17 http://flake8.pycqa.org/en/latest/internal/contributing.html#filing-a-bug |
In GitLab by @sigmavirus24 on Oct 20, 2018, 10:17 closed |
In GitLab by @asottile on Oct 2, 2020, 16:37 changed the description |
In GitLab by @samuelcolvin on Feb 22, 2017, 06:07
setup:
foobar.py:
You would expect the error to say line 3 not line 1.
The text was updated successfully, but these errors were encountered: