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

Impossible requirements with capitalised import #49

Closed calvingiles closed 8 years ago

calvingiles commented 9 years ago

flake8: access.py:5:1: I101 Imported names are in the wrong order. Should be connection, IntegrityError, transaction

line 5 of access.py: from django.db import connection, IntegrityError, transaction

Resolved with:

from django.db import IntegrityError
from django.db import connection, transaction
public commented 9 years ago

Can't reproduce. What version are you using?

untitaker commented 9 years ago

I think this is related to #47.

pgjones commented 8 years ago

I can reproduce, will fix.