From 8452b85e0f837eee7c0d864fb1a6fd0e7f678ff3 Mon Sep 17 00:00:00 2001 From: Tim Hsiung <26526132+bearomorphism@users.noreply.github.com> Date: Sun, 10 May 2026 11:12:40 +0800 Subject: [PATCH] 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> --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 85957e0b8..8cdb1a137 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -179,6 +179,7 @@ omit = [ '*/virtualenv/*', '*/virtualenvs/*', '*/tests/*', + 'commitizen/question.py', ]