Skip to content

Commit 542a794

Browse files
Update autoflake args
This wont format automatically unless --in-place is passed and will remove init imports when missing --ignore-init-module-imports
1 parent b104d1e commit 542a794

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ repos:
1818
rev: v2.2.1
1919
hooks:
2020
- id: autoflake
21+
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variables', '--ignore-init-module-imports']

0 commit comments

Comments
 (0)