Skip to content

Commit ae55a8c

Browse files
committed
Move coverage settings to pyproject.toml
1 parent c8584e7 commit ae55a8c

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.coveragerc

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

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,18 @@ Release Information
100100
path = "CHANGELOG.rst"
101101
pattern = "(^v.+?)\nv"
102102

103+
[tool.coverage.run]
104+
branch = true
105+
source = ["jsonschema"]
106+
dynamic_context = "test_function"
107+
108+
[tool.coverage.report]
109+
omit = [
110+
"*/jsonschema/__main__.py",
111+
"*/jsonschema/benchmarks/*",
112+
"*/jsonschema/tests/fuzz_validate.py",
113+
]
114+
103115
[tool.doc8]
104116
ignore = [
105117
"D001", # one sentence per line, so max length doesn't make sense

0 commit comments

Comments
 (0)