diff --git a/Makefile b/Makefile index 78e2ad0..b9fd5e1 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,11 @@ default: test -test: env - .venv/bin/pytest tests +test: + uv run --extra testing pytest tests -lint: env - .venv/bin/ruff check . - .venv/bin/ruff format --check . - -env: .venv/.up-to-date - -.venv/.up-to-date: pyproject.toml Makefile - uv venv .venv - uv pip install -e '.[testing]' - touch $@ +lint: + uv run --extra testing ruff check . + uv run --extra testing ruff format --check . +env: + uv venv