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.
This commit is contained in:
Saurav Maheshkar 2023-01-23 04:18:20 +05:30 committed by GitHub
parent 4ddfa82bb7
commit b4fcdeb56c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,2 +0,0 @@
[run]
omit = tests/*

View File

@ -85,6 +85,11 @@ ignore_missing_imports = "True"
disallow_untyped_defs = "True" disallow_untyped_defs = "True"
exclude = ["notebooks"] exclude = ["notebooks"]
[tool.coverage.run]
omit = [
"tests/*",
]
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"