Skip to content

Commit

Permalink
chore: add coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kmnhan committed May 15, 2024
1 parent a67be68 commit 9c1e6a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ misc = ["iminuit>=2.25.2", "csaps>=1.1.0"]
dev = [
"mypy",
"pre-commit",
"pytest-cov",
"pytest-qt",
"pytest-xdist",
"pytest",
"python-semantic-release",
Expand Down Expand Up @@ -214,6 +216,10 @@ addopts = ["--import-mode=importlib"]
pythonpath = "src"
testpaths = "tests"

[tool.coverage.run]
source = ["src"]
omit = ["*/_deprecated/*"]

[tool.mypy]
plugins = ["numpy.typing.mypy_plugin"]
warn_unused_configs = true
Expand Down

0 comments on commit 9c1e6a5

Please sign in to comment.