new python project setup
python. UV + Ruff + ty + pytest + coveragepy
github. pre-commit + depedabot security checker + template for pull requests + template for issue + GitHub Actions CI (tests, type, lint, coverage upload) + Developer experience (Dockerfile, Makefile, devcontainer, VS Code, task runner)
Coverage.py can do a number of things:
-
By default it will measure line (statement) coverage.
-
It can also measure branch coverage.
-
It can tell you what tests ran which lines.
-
It can produce reports in a number of formats: text, HTML, XML, LCOV, and JSON.
-
For advanced uses, there’s an API, and the result data is available in a SQLite database.


浙公网安备 33010602011771号