diff --git a/setup.cfg b/setup.cfg
index 4ab5cc3deff7bec1cd567a0cbb99204f57f8bd0b..78add7cc2b71d13c7ef14c2f8ae3e2cc1291f4ce 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,5 +13,5 @@ ignore_errors = False
 disallow_untyped_defs = True
 
 [flake8]
-ignore=E501,F405
-exclude=*/migrations/*
+ignore = E501,F405
+exclude = migrations,node_modules