dreadatour / Flake8Lint

Sublime Text plugin for lint Python files
234 stars 58 forks source link

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

Open kkurian opened 6 years ago

kkurian commented 6 years ago

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'