Skip to content

Commit 3cbfc1a

Browse files
committed
test(config): add omit config for coverage
1 parent 17c7d31 commit 3cbfc1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ git-cz = "commitizen.cli:main"
8989
'if 0:',
9090
'if __name__ == .__main__.:'
9191
]
92+
omit = [
93+
'env/*',
94+
'venv/*',
95+
'*/virtualenv/*',
96+
'*/virtualenvs/*',
97+
'*/tests/*'
98+
]
9299

93100
[build-system]
94101
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)