Skip to content
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

Undefined name in f-string following only blank lines is not reported #115

Open
kkurian opened this issue Nov 10, 2017 · 0 comments
Open

Comments

@kkurian
Copy link

kkurian commented Nov 10, 2017

Problem

When an f-string follows only blank lines, an undefined name in the f-string is is not reported.

Input

... blank line ...
f'{foo}'

Result

No errors reported.

Expected Result

An error marker on Line 2 reporting F821 undefined name 'foo'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant