Skip to content

Commit 43da048

Browse files
add section on coverage
1 parent 9c8cdbf commit 43da048

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,16 @@ uv run nox --session tests -- --failed-first --maxfail=1
109109
# just test -v --last-failed
110110
# just testall --failed-first --maxfail=1
111111
```
112+
113+
### Coverage
114+
115+
The project uses [`coverage.py`](https://github.com/nedbat/coverage.py) to measure code coverage and aims to maintain 100% coverage across the codebase.
116+
117+
To run the test suite and measure code coverage:
118+
119+
```bash
120+
uv run nox --session coverage
121+
# just coverage
122+
```
123+
124+
All pull requests must include tests to maintain 100% coverage. Coverage configuration can be found in the `[tools.coverage.*]` sections of [`pyproject.toml`](pyproject.toml).

0 commit comments

Comments
 (0)