Skip to content

Commit 167eda0

Browse files
committed
build: Remove .coveragerc, use pyproject.toml
1 parent 695dbdc commit 167eda0

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

.coveragerc

Lines changed: 0 additions & 17 deletions
This file was deleted.

pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,25 @@ module = [
134134
"bpython",
135135
]
136136
ignore_missing_imports = true
137+
138+
[tool.coverage.run]
139+
branch = true
140+
source = [
141+
"tmuxp",
142+
]
143+
omit = [
144+
"tests/*",
145+
"*/_vendor/*",
146+
"*/_*",
147+
"pkg/*",
148+
"*/log.py",
149+
]
150+
151+
[tool.coverage.report]
152+
exclude_lines = [
153+
"pragma: no cover",
154+
"def __repr__",
155+
"raise NotImplementedError",
156+
"if __name__ == .__main__.:",
157+
"def parse_args",
158+
]

0 commit comments

Comments
 (0)