From 515ca7fadd11276421ba9d9be217a07b2e6b1652 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 22 Aug 2023 15:27:14 +0200 Subject: add script to create rough map for the school year school hoildays are retrieved from schulferien.eu and the lehrplan is scraped from lehrplanplus.bayern.de. --- scripts/gen_map/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/gen_map/Makefile (limited to 'scripts/gen_map/Makefile') diff --git a/scripts/gen_map/Makefile b/scripts/gen_map/Makefile new file mode 100644 index 00000000..f84be4f4 --- /dev/null +++ b/scripts/gen_map/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