After cloning the repository, install dependencies and the pre-push hook:
uv sync --locked
uv run pre-commit install --hook-type pre-pushThe pre-push hook runs fix-and-check-all before each push to apply formatting and linting fixes
and check typing and unit tests.
To check and resolve linting issues in the codebase, run:
uv run ruff check --fixTo check and resolve formatting issues in the codebase, run:
uv run ruff formatTo check the unit tests in the codebase, run:
uv run pytestTo check the typing in the codebase, run:
uv run mypyTo generate a code coverage report after testing locally, run:
uv run coverage htmlTo check the lock file is up to date:
uv lock --checkuv run poe check-lock
uv run poe check-format
uv run poe check-lint
uv run poe check-tests
uv run poe check-typinguv run poe check-alluv run poe fix-format
uv run poe fix-lintuv run poe fix-alluv run poe fix-and-check-all