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" rev: "v5.8.0"
hooks: hooks:
- id: "isort" - id: "isort"
- repo: https://github.com/myint/autoflake - repo: "https://github.com/myint/autoflake"
rev: v1.4 rev: "v1.4"
hooks: hooks:
- id: autoflake - id: "autoflake"
args: args:
- --in-place - "--in-place"
- --remove-all-unused-imports - "--remove-all-unused-imports"
- "--ignore-init-module-imports"