Skip to content

Commit e97ae64

Browse files
Merge pull request #799 from adamtheturtle/better-fix-lint
Better fix-lint
2 parents 2e82bcd + 3bf1486 commit e97ae64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ lint:
1717

1818
.PHONY: fix-lint
1919
fix-lint:
20+
# Move imports to a single line so that autoflake can handle them.
21+
# See https://github.com/myint/autoflake/issues/8.
22+
# Then later we put them back.
23+
isort --force-single-line --recursive --apply
2024
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables .
2125
yapf --in-place --recursive .
2226
isort --recursive --apply

0 commit comments

Comments
 (0)