From 4672ab7de375ef8ee363634dca26a8b31fe4b54c Mon Sep 17 00:00:00 2001 From: Tomas Kubla Date: Sun, 17 Mar 2024 00:36:40 +0100 Subject: [PATCH] Flake8: Remove useless ignores --- .flake8 | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.flake8 b/.flake8 index f3faa0e2e03..df8b8c2c9c2 100644 --- a/.flake8 +++ b/.flake8 @@ -12,10 +12,6 @@ ignore = C901 # Bare except E722 - # May be undefined - F405 - # list comprehension redefines - F812 E126 E128 # Line break occurred before a binary operator (conflicting with black) @@ -23,20 +19,7 @@ ignore = # undefined file name excpetion F821 - -exclude = - # No need to traverse our git directory - .git, - # Exclude unittests - dojo/unittests, - # There's no value in checking cache directories - __pycache__, - # This contains of branch that we don't want to check - # dev - # We should not touch migrations that are already used, but check new migrations per-file-ignores = dojo/db_migrations/00*:F841 dojo/db_migrations/01*:F841 - -max-complexity = 10