use --ignore-init-module-imports

This commit is contained in:
Thomas Steen Rasmussen 2021-07-19 17:09:56 +02:00
parent 01687ea11a
commit 4d1b96a5b8

View file

@ -12,10 +12,11 @@ repos:
rev: "v5.8.0"
hooks:
- id: "isort"
- repo: https://github.com/myint/autoflake
rev: v1.4
- repo: "https://github.com/myint/autoflake"
rev: "v1.4"
hooks:
- id: autoflake
- id: "autoflake"
args:
- --in-place
- --remove-all-unused-imports
- "--in-place"
- "--remove-all-unused-imports"
- "--ignore-init-module-imports"