Files
langsmith-sdk-christopher/python/Makefile
T
William FH 8e26d22dfb Include stats in readProject (#408)
and speed up int tests
2024-02-07 00:17:26 -08:00

30 lines
692 B
Makefile

.PHONY: tests lint format
tests:
poetry run pytest tests/unit_tests
tests_watch:
poetry run ptw --now . -- -vv -x tests/unit_tests
integration_tests:
poetry run pytest -v --durations=10 --cov=langsmith --cov-report=term-missing --cov-report=html --cov-config=.coveragerc tests/integration_tests
integration_tests_fast:
poetry run pytest -n auto --durations=10 -v --cov=langsmith --cov-report=term-missing --cov-report=html --cov-config=.coveragerc tests/integration_tests
lint:
poetry run ruff .
poetry run mypy .
poetry run black . --check
format:
poetry run ruff format .
poetry run ruff --fix .
poetry run black .
build:
poetry build
publish:
poetry publish --dry-run