diff options
Diffstat (limited to 'scripts/gen_map/Makefile')
| -rw-r--r-- | scripts/gen_map/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
