You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/Makefile

27 lines
502 B
Makefile

.PHONY: format lint tests tests_watch integration_tests
2 years ago
coverage:
poetry run pytest --cov \
--cov-config=.coveragerc \
--cov-report xml \
--cov-report term-missing:skip-covered
2 years ago
format:
poetry run black .
poetry run isort .
2 years ago
lint:
poetry run mypy .
poetry run black . --check
poetry run isort . --check
poetry run flake8 .
2 years ago
tests:
poetry run pytest tests/unit_tests
2 years ago
tests_watch:
poetry run ptw --now . -- tests/unit_tests
2 years ago
integration_tests:
poetry run pytest tests/integration_tests