- Clone the repository
- Install uv and just if you don't have them already
- Install the package with development dependencies:
uv sync --group dev
- Make your changes
- Run quality checks before committing:
just check # Run all checks: lint, typecheck, test, doctest # Or run individually: just lint # Check code style with ruff just typecheck # Type check with mypy just test # Run pytest just format # Auto-format code with ruff just --list # Show all available recipes
- Make a pull request with a clear summary of the changes
To build the docs locally, install Quarto (version is specified in the CI workflow), then:
uv sync --group docs
make docs# Run a specific test file
uv run pytest tests/test_comparer.py
# Run a specific test function
uv run pytest tests/test_comparer.py::test_function_name
# Run with coverage
just coverage- Source code is in
src/modelskill/ - Tests are in
tests/ - Test data is in
tests/testdata/(symlinked asdocs/data)