Skip to content

Commit b4fcdeb

Browse files
chore: move coverage config to pyproject (#694)
This PR aims to move the contents of `.coveragerc` to `pyproject.toml` to make the overall file structure more minimal.
1 parent 4ddfa82 commit b4fcdeb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.coveragerc

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

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ ignore_missing_imports = "True"
8585
disallow_untyped_defs = "True"
8686
exclude = ["notebooks"]
8787

88+
[tool.coverage.run]
89+
omit = [
90+
"tests/*",
91+
]
92+
8893
[build-system]
8994
requires = ["poetry-core"]
9095
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)