Contributing¶
This is an open source project, and we are open to new contributors.
Getting started¶
- Make sure that you have uv and just installed.
- Clone project:
- Install dependencies by running
just install
Running linters¶
Ruff and ty are used for static analysis.
Run all checks by command just lint
Running tests¶
Run all tests by command just test. Run a subset with just test <PATH> -k <NAME>.
CI runs the coverage-enforcing recipe just test-ci along with just lint-ci.
Submitting changes¶
- Fork the repo and branch off
main. - Make your change with tests; keep 100% line coverage (CI runs
just test-ciwith--cov-fail-under=100). - Run
just lintandjust testlocally before pushing (CI runs the non-fixing variantsjust lint-ci/just test-ci). - For non-trivial changes, see the planning convention.
- Open a pull request upstream.