All configuration for the project should be put into pyproject.toml
.
-
Create a virtualenv using whatever method you like ( eg, virtualenvwrapper)
-
Install dependencies from requirements.txt
-
Add or update the dependency in pyproject.toml
-
Update constraints file
uv pip compile --all-extras pyproject.toml --output-file constraints.txt -U
Basic checks (formatting, import order) is done with pre-commit and is controlled by the yaml file.
After installing dependencies, Run
# check it works
pre-commit run --all-files
pre-commit install
Run every so often to update the pre-commit hooks
pre-commit autoupdate
ruff format tavern/ tests/
ruff --fix tavern/ tests/
pre-commit run --all-files