Comment 2 for bug 1153355

Revision history for this message
John Vandenberg (jayvdb) wrote :

fwiw, as of v1.2.0, the error message is less confusing as the name in the error message now matches what appears on the line of the source code:

./aaa.py:2: 'os.path' imported but unused

This was done with

https://github.com/pyflakes/pyflakes/commit/aec68a7847d8dbd1371242f42f9302103a68178f

It had a few bugs (lp:1560134 and lp:1578051), which have fixes yet to be released.

It still does not detect that both are unused, which turns out to be a spectacularly difficult problem to solve in pyflakes, but we're getting closer.