Skip to content

Commit b642020

Browse files
committed
Move coverage include config to [tool.coverage.run]
1 parent f4c7b3c commit b642020

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ select = [
4242

4343
[tool.coverage.run]
4444
branch = true
45+
# Only check coverage for source files
46+
include = ["ocu/**/*.py"]
4547

4648
[tool.coverage.report]
4749
# Regexes for lines to exclude from consideration
@@ -52,11 +54,6 @@ exclude_lines = [
5254
"pass",
5355
]
5456

55-
# Only check coverage for source files
56-
include = [
57-
"ocu/**/*.py",
58-
]
59-
6057
[tool.mypy]
6158
disallow_untyped_defs = true
6259

0 commit comments

Comments
 (0)