From 82b01964fa2c316e960718786a37b27cbc6c52a1 Mon Sep 17 00:00:00 2001 From: julien-talkair Date: Tue, 6 Jul 2021 22:41:54 +0200 Subject: [PATCH] :rotating_light: adjust flake8 sensitivity * pass arguments to flake8 * reproduce arguments from CI config --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7853306ae..0e0e72fcc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,3 +8,8 @@ repos: rev: 3.9.2 hooks: - id: flake8 + args: + - "--count" + - "--select=E901,E999,F821,F822,F823" + - "--show-source" + - "--statistics"