Skip to content

Commit c24f4b0

Browse files
committed
py(coverage): Exclude docs/_ext from coverage
Sphinx extension files (pretty_argparse.py, cli_usage_lexer.py) are documentation infrastructure, not core application code. Exclude them from coverage measurement similar to tests/, _vendor/, etc.
1 parent 9ec2fd4 commit c24f4b0

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
@@ -141,6 +141,7 @@ omit = [
141141
"*/_*",
142142
"pkg/*",
143143
"*/log.py",
144+
"docs/_ext/*",
144145
]
145146

146147
[tool.coverage.report]

0 commit comments

Comments
 (0)