Skip to content

Commit ab9762d

Browse files
committed
linting: enable and configure flake8-import-order
This will enforce consistent ordering and grouping of imports throughout Sopel's codebase. Previous commits corrected all known issues, so actually enabling the checks shouldn't change anything.
1 parent 97156dc commit ab9762d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
application-import-names=sopel
3+
import-order-style=google

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest
22
coveralls
33
flake8
4+
flake8-import-order

0 commit comments

Comments
 (0)