From d8a2d8544bb1346f06395ba27ecd8ffd75dcb392 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 30 Mar 2020 09:57:40 +0200 Subject: Use flake8 --- Makefile | 2 +- setup.cfg | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 setup.cfg 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 -- cgit v1.2.3