2022-10-24 21:51:15 +00:00
|
|
|
.PHONY: format lint tests integration_tests
|
|
|
|
|
2022-12-13 13:48:53 +00:00
|
|
|
coverage:
|
|
|
|
poetry run pytest --cov \
|
|
|
|
--cov-config=.coveragerc \
|
|
|
|
--cov-report xml \
|
|
|
|
--cov-report term-missing:skip-covered
|
|
|
|
|
2022-10-24 21:51:15 +00:00
|
|
|
format:
|
2022-12-04 00:42:59 +00:00
|
|
|
poetry run black .
|
|
|
|
poetry run isort .
|
2022-10-24 21:51:15 +00:00
|
|
|
|
|
|
|
lint:
|
2022-12-04 00:42:59 +00:00
|
|
|
poetry run mypy .
|
|
|
|
poetry run black . --check
|
|
|
|
poetry run isort . --check
|
|
|
|
poetry run flake8 .
|
2022-10-24 21:51:15 +00:00
|
|
|
|
|
|
|
tests:
|
2022-12-04 00:42:59 +00:00
|
|
|
poetry run pytest tests/unit_tests
|
2022-10-24 21:51:15 +00:00
|
|
|
|
|
|
|
integration_tests:
|
2022-12-04 00:42:59 +00:00
|
|
|
poetry run pytest tests/integration_tests
|