RUN := poetry run | |
check: lint mypy | |
lint: lint-black lint-isort lint-flake8 | |
lint-black: | |
$(RUN) black --check --diff --quiet . | |
lint-isort: | |
$(RUN) isort --check --quiet . | |
lint-flake8: | |
$(RUN) pflake8 . | |
mypy: | |
$(RUN) mypy . | |
format: format-black format-isort | |
format-black: | |
$(RUN) black --quiet . | |
format-isort: | |
$(RUN) isort --quiet . | |