matrix-ops-bot/Makefile
2022-11-30 15:44:56 +00:00

21 lines
361 B
Makefile

POETRY ?= poetry run
SRC := ops_bot
TESTS := tests
fmt:
$(POETRY) black $(SRC)
$(POETRY) isort --profile black $(SRC)
lint:
$(POETRY) flake8 $(SRC)
$(POETRY) bandit --silent --recursive $(SRC)
types:
$(POETRY) mypy $(SRC)
test:
$(POETRY) pytest $(TESTS)
ci: lint types test
freeze:
poetry export --format=requirements.txt > requirements.frozen.txt