Skip to content

Commit 4330b2c

Browse files
authored
chore: update test coverage rules to exclude tests/* (#2318)
1 parent a735aa0 commit 4330b2c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ coverage:
2828

2929
uv run coverage run -m pytest
3030
uv run coverage xml -o coverage.xml
31-
uv run coverage report -m --fail-under=95
31+
uv run coverage report -m --fail-under=85
3232

3333
.PHONY: snapshots-fix
3434
snapshots-fix:

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ module = "sounddevice.*"
123123
ignore_missing_imports = true
124124

125125
[tool.coverage.run]
126-
source = ["tests", "src/agents"]
126+
source = ["src/agents"]
127+
omit = ["tests/*"]
127128

128129
[tool.coverage.report]
129130
show_missing = true

0 commit comments

Comments
 (0)