mirror of
https://github.com/langchain-ai/langsmith-sdk-christopher.git
synced 2026-07-15 00:18:46 -04:00
30 lines
715 B
Makefile
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
|