.PHONY: check format check-format check-pylint

PYTHONFILES := $(wildcard *.py)

check: check-pylint check-format

format:
	yapf -i $(PYTHONFILES)

check-format:
	yapf -d $(PYTHONFILES)

check-pylint:
	pylint --rcfile=.pylint.rc -j 0 $(PYTHONFILES) || ./tools/check-pylint $$?
