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