with venv
:
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -e '.[dev]'
with uv
:
$ uv sync --frozen --extra dev
$ source .venv/bin/activate
The pre-commit CLI was installed by the above steps
$ pre-commit install
$ pytest
$ tox -e lint