Skip to content

Commit 8452b85

Browse files
test(coverage): omit pure typing module commitizen/question.py
commitizen/question.py defines TypedDicts, Literal aliases, and a union type used purely for static typing. It has no runtime code paths to exercise, so excluding it from the coverage report removes a misleading 0% line and reflects its purpose more accurately. Closes #1904 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4d99415 commit 8452b85

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ omit = [
179179
'*/virtualenv/*',
180180
'*/virtualenvs/*',
181181
'*/tests/*',
182+
'commitizen/question.py',
182183
]
183184

184185

0 commit comments

Comments
 (0)