git clone https://github.com/teilomillet/ordeal
cd ordeal
uv sync --extra devuv run pytest # run tests
uv run pytest tests/test_X.py # single module
uv run pytest -x # stop on first failure
uv run ruff check . # lint
uv run ruff format . # format- Fork the repo and create a branch from
main. - Write tests for your changes.
- Ensure
uv run pytestanduv run ruff check .pass. - Open a pull request.
See CLAUDE.md for architecture, conventions, and common contribution recipes.
- Create a function in
ordeal/faults/that returns aPatchFaultorLambdaFault. - Add tests in
tests/test_faults.py. - Document in
docs/api-reference.md.
- Add the function in
ordeal/assertions.py. - Export from
ordeal/__init__.pyand add to__all__. - Add tests in
tests/test_assertions.py.