Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit c0c24e4

Browse files
committed
Fix coverage measurement
We were not omitting setup.py, the test sources or the 3rd part libraries in .venv
1 parent 7d40c55 commit c0c24e4

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.coveragerc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[run]
2+
source = tsrc
3+
4+
omit =
5+
cli_ui/tests/*
6+
.venv/*
7+
8+
branch = True

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -e
44
which black && black --check .
55
mypy cli_ui
66
pyflakes cli_ui/__init__.py cli_ui/tests/test_cli_ui.py
7-
pytest --cov . --cov-report term
7+
pytest --cov cli_ui --cov-report term
88
sphinx-build -W docs docs/_build/html

0 commit comments

Comments
 (0)