From 4d1b96a5b8dfa2187fd99699099a85b8e2034573 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 19 Jul 2021 17:09:56 +0200 Subject: [PATCH] use --ignore-init-module-imports --- .pre-commit-config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 430e3b34..0ac22a6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"