PYTHONFILES = $(shell find -name "*.py" -not -path "./.git/*") .PHONY: format check check-format check-pylint check-mypy test format: yapf -i $(PYTHONFILES) check-pylint: pylint -j 0 $(PYTHONFILES) || ./tools/check-pylint $$? check-format: yapf -d $(PYTHONFILES) check-mypy: mypy --ignore-missing-imports $(PYTHONFILES) check: check-pylint check-format check-mypy test: python3 test.py