Misleading 'unused import' message
Bug #1512877 reported by
Corey Farwell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
New
|
Undecided
|
Unassigned |
Bug Description
```
coreyf@frewbook-pro /tmp> cat a.py
import a.b
```
```
coreyf@frewbook-pro /tmp> flake8 a.py
a.py:1:1: F401 'a' imported but unused
```
Expected output:
```
coreyf@frewbook-pro /tmp> flake8 a.py
a.py:1:1: F401 'a.b' imported but unused
```
To post a comment you must log in.