Contributing¶
Issues¶
Bug reports, questions, or feature requests can be submitted as issues.
Developing Locally¶
-
Before starting, you'll need uv, pre-commit is also recommended.
-
Fork spatula and check out your fork:
-
Install pre-commit hooks
This will make sure that the linters run before each commit, saving you time.$ pre-commit install -
Install spatula and its development dependencies locally:
From here, you can use$ cd spatula $ poetry installpoetry run invto run several useful maintenance commands.
Running Tests¶
poetry run inv test will run all tests and write coverage information to htmlcov/index.html
Linting & Type Checking¶
poetry run inv lint will run ruff and black to lint the code style.
poetry run inv mypy will run the mypy type checker.
Building Docs¶
poetry run inv docs will build the docs and watch for changes.