Skip to content

Commit 34d3643

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

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

.coveragerc

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

pyproject.toml

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

0 commit comments

Comments
 (0)