From e4f49b51234dfc264e9023ddae608423c03935cb Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 6 Jul 2020 11:41:23 +0200 Subject: [PATCH] Makefile: Add a make lint-python command Fixes #45 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4f37195..64e2a09 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,11 @@ check-licenses: .PHONY: check-licenses +lint-python: + @python3 -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + +.PHONY: lint-python + check: check-licenses @true