PyCQA / flake8-import-order

Flake8 plugin that checks import order against various Python Style Guides
GNU Lesser General Public License v3.0
278 stars 72 forks source link

pycharm: case-sensitivity of module names in "from" imports #166

Open sovetov opened 5 years ago

sovetov commented 5 years ago

Sorted by PyCharm with case-sensitivity:

from smb.SMBConnection import SMBConnection
from smb.smb_structs import OperationFailure, ProtocolError

flake-8-import-order says:

./framework/os_access/smb_path.py:13:1: I100 Import statements are in the wrong order. 'from smb.smb_structs import OperationFailure, ProtocolError' should be before 'from smb.SMBConnection import SMBConnection'