-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flake8-import-order #1864
Add flake8-import-order #1864
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All right, that wasn't too bad. Out of 108 files, I could check off 88 of them as ready-to-go. Only 20 files have changes I don't really like, and nearly all in one of these categories:
- Blank lines between third-party imports (why?)
- Sorting
from ... import
s after plainimport
s (solution: usegoogle
style as I did in ab9762d)
Also in ab9762d, I configured the application namespace as sopel
, which might affect some of this stuff. (I don't think there were any relative imports 1400 commits ago, so my branch doesn't have any changes with .
to compare.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tweak the spaces in setup.cfg
and we're good to squash. 👍
249b365
to
049d517
Compare
Description
Adds flake8-import-order and fixes everything it complains about. See #1765
Checklist
make qa
(runsmake quality
andmake test
)