Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9eee828

Browse filesBrowse files
authored
build: Remove .coveragerc, use pyproject.toml (#421)
2 parents 032008e + 5365ebc commit 9eee828
Copy full SHA for 9eee828

File tree

Expand file treeCollapse file tree

3 files changed

+26
-21
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+26
-21
lines changed

‎.coveragerc

Copy file name to clipboardExpand all lines: .coveragerc
-21Lines changed: 0 additions & 21 deletions
This file was deleted.

‎CHANGES

Copy file name to clipboardExpand all lines: CHANGES
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ URL renamings (#417):
2222
- `default_patterns` -> `patterns`
2323
- `MATCHERS` -> `RULES`
2424

25+
### Packaging
26+
27+
- Migrate `.coveragerc` to `pyproject.toml` (#421)
28+
2529
## libvcs 0.16.5 (2022-09-21)
2630

2731
### Bug fixes

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,28 @@ libvcs = "libvcs.pytest_plugin"
133133
[tool.mypy]
134134
strict = true
135135

136+
[tool.coverage.run]
137+
branch = true
138+
parallel = true
139+
omit = [
140+
"*/_compat.py",
141+
"docs/conf.py",
142+
]
143+
144+
[tool.coverage.report]
145+
show_missing = true
146+
skip_covered = true
147+
exclude_lines = [
148+
"pragma: no cover",
149+
"def __repr__",
150+
"raise NotImplementedError",
151+
"return NotImplemented",
152+
"def parse_args",
153+
"if TYPE_CHECKING:",
154+
"if t.TYPE_CHECKING:",
155+
"@overload( |$)",
156+
]
157+
136158
[build-system]
137159
requires = ["poetry_core>=1.0.0"]
138160
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.