Just ran into this in Ubuntu Yakkety which and filed bug 1580214. Then duped that here. Recreate is as simple as:
$ mkdir x $ echo "FOO = 1" > x/__init__.py $ echo "from . import FOO" > x/wark.py $ python -m pyflakes x/
Just ran into this in Ubuntu Yakkety which and filed bug 1580214. Then duped that here.
Recreate is as simple as:
$ mkdir x
$ echo "FOO = 1" > x/__init__.py
$ echo "from . import FOO" > x/wark.py
$ python -m pyflakes x/