Files
2024-02-23 16:01:16 -08:00

30 lines
715 B
Makefile

.PHONY: tests lint format
tests:
poetry run pytest -n auto --durations=10 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