Closed pferate closed 8 years ago
Thanks, will fix shortly.
Should be fixed by 3f371dded0b19dba24e0287786fc615cfe3624cd, can you confirm?
Looks like that works. Thanks!
Thanks, released 0.9.1.
Thanks! Works great.
I think this might not be fixed for from ... import ...
statements:
% cat ./from_import_order_bug.py
from foo import bar
from foo import Baz
% flake8 - < ./from_import_order_bug.py
stdin:1:1: F401 'foo.bar' imported but unused
stdin:2:1: I100 Import statements are in the wrong order. from foo should be before from foo
stdin:2:1: F401 'foo.Baz' imported but unused
I'm using Python 3.5:
% python3 -m pip freeze | grep flake8
flake8==3.0.4
flake8-import-order==0.10
I believe my colleague @dirk-thomas might be looking into a patch.
The further issues should be fixed following ab53d0fa8e23de11bd572a9cb74d719076fc0ae5
A change in the 0.9 release broke the Google order style, at least for
I100
. It looks like it is not ignoring the case of letters anymore.According to the Google Python Style Guide
Here is an example that worked in 0.8, but is flagging
I100
in 0.9:This (incorrect) example passes in 0.9: