diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 19:06:11 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 19:06:11 +0200 |
| commit | 927c0df42db96a7e661e30aae90ec9f52d83dc37 (patch) | |
| tree | 99532c47fd789ad0cb1c4c4492841c555c7bae25 /Makefile | |
| download | quiz-927c0df42db96a7e661e30aae90ec9f52d83dc37.tar.gz quiz-927c0df42db96a7e661e30aae90ec9f52d83dc37.zip | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
