From 362a954add901904cf1234b96d84debb9262c556 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 14 Dec 2024 17:01:38 +0100 Subject: add initial commit --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f84be4f --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +PYTHONFILES = $(shell find -name "*.py" -not -path "./.git/*") + +.PHONY: pylint format check check-format check-pylint check-mypy + +check-pylint: + pylint -j 0 $(PYTHONFILES) || ./tools/check-pylint $$? + +format: + yapf -i $(PYTHONFILES) + +check-format: + yapf -d $(PYTHONFILES) + +check-mypy: + mypy --ignore-missing-imports $(PYTHONFILES) + +check: check-pylint check-format check-mypy -- cgit v1.2.3