Skip to content

Commit

Permalink
Omit tests folder and exclude func to increate coverage (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng authored May 28, 2024
1 parent 00752b1 commit d3159c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ fallback_version = "0.0.0"
[tool.mypy]
show_error_codes = true
show_column_numbers = true

[tool.coverage.run]
omit = ["tests/*"]

[tool.coverage.report]
exclude_also = [
"__name__",
"FileNotFoundError"
]

0 comments on commit d3159c2

Please sign in to comment.