aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--setup.cfg5
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a15dc67..409982a 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ $(DETECT): $(DETECT).in
%.py: %
ln -s $< $@
- pychecker -q -e Error $@
+ flake8 $@
check: $(DETECT) $(PYFILES)
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..f141a94
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,5 @@
+[flake8]
+# E501: ignore line length
+# E265: block comment should start with '# '
+# E401: multiple imports on one line
+ignore=E501,E265,E401