Add pytest-cov for test coverage

- Add pytest-cov as dev dependency
- Configure coverage in pyproject.toml
- Exclude tests, __pycache__, seed.py from coverage
- Enable branch coverage
- Add .coverage to gitignore
This commit is contained in:
counterweight 2025-12-21 21:55:04 +01:00
parent 6c218130e9
commit 6a2d7155cb
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -28,3 +28,4 @@ next_pr.md
# Notes
notes/
.coverage