langchain/Makefile

24 lines
432 B
Makefile
Raw Normal View History

2022-10-24 21:51:15 +00:00
.PHONY: format lint tests integration_tests
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:
poetry run black .
poetry run isort .
2022-10-24 21:51:15 +00:00
lint:
poetry run mypy .
poetry run black . --check
poetry run isort . --check
poetry run flake8 .
2022-10-24 21:51:15 +00:00
tests:
poetry run pytest tests/unit_tests
2022-10-24 21:51:15 +00:00
integration_tests:
poetry run pytest tests/integration_tests