mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
27 lines
502 B
Makefile
27 lines
502 B
Makefile
.PHONY: format lint tests tests_watch integration_tests
|
|
|
|
coverage:
|
|
poetry run pytest --cov \
|
|
--cov-config=.coveragerc \
|
|
--cov-report xml \
|
|
--cov-report term-missing:skip-covered
|
|
|
|
format:
|
|
poetry run black .
|
|
poetry run isort .
|
|
|
|
lint:
|
|
poetry run mypy .
|
|
poetry run black . --check
|
|
poetry run isort . --check
|
|
poetry run flake8 .
|
|
|
|
tests:
|
|
poetry run pytest tests/unit_tests
|
|
|
|
tests_watch:
|
|
poetry run ptw --now . -- tests/unit_tests
|
|
|
|
integration_tests:
|
|
poetry run pytest tests/integration_tests
|