From 7f269898c4afcf62511cbbaf19635065b405893c Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 22 Mar 2020 20:02:13 +1100 Subject: [PATCH] Flake - ignore media and static dirs --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index e56067f4ef..6c84ba4bae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,5 +6,5 @@ ignore = E501, E722, # - C901 - function is too complex C901, -exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/* +exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/* max-complexity = 20