Development¶
This guide provides instructions for setting up your development environment to contribute to Graphinate.
Install dependencies¶
UV is used to install all dependencies, including those for testing and documentation.
Update dependencies¶
To update the locked dependencies to their latest versions:
Ruff¶
Ruff is used for linting and formatting.
Report issues¶
Fix issues¶
Test¶
We use pytest for testing.
This is the recommended command for local development, as it provides the fastest feedback.
Generates an interactive HTML coverage report.
Generates a standard Cobertura XML report (useful for CI/CD).
Docs¶
The documentation is built using MkDocs with the Material for MkDocs theme.
Test¶
To serve the documentation locally for testing:
Build¶
To build the static documentation site: