Skip to content

Commit

Permalink
move coverage config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
RLKRo committed Dec 14, 2023
1 parent 50d096e commit 4dc6153
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .coveragerc

This file was deleted.

19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,22 @@ markers = [
"all: reserved by allow-skip",
"none: reserved by allow-skip",
]


[tool.coverage.run]
concurrency = [
"thread",
"greenlet",
]


[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain if tests don't cover raising errors:
"raise .*",
# Don't complain if tests don't cover error handling:
"except .*",
]

0 comments on commit 4dc6153

Please sign in to comment.