Skip to content

Conversation

@half-duplex
Copy link
Member

Description

Adds flake8-import-order and fixes everything it complains about. See #1765

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches [Smoke tested - currently running shout test]

Copy link
Member

@dgw dgw left a 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 ... imports after plain imports (solution: use google 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.)

@dgw dgw added this to the 7.1.0 milestone May 19, 2020
@dgw dgw added the Tweak label May 19, 2020
@half-duplex half-duplex requested a review from dgw May 19, 2020 00:44
Copy link
Member

@dgw dgw left a 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. 👍

@dgw dgw merged commit 0ae1d8a into sopel-irc:master May 19, 2020
@half-duplex half-duplex deleted the flake8-additions branch May 19, 2020 22:13
@half-duplex half-duplex restored the flake8-additions branch May 14, 2023 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants