Skip to content

Commit

Permalink
Move .coveragerc to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Jun 29, 2024
1 parent c3c3cf2 commit 0ac5ed9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .coveragerc

This file was deleted.

12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ addopts = """
# doctest_optionflags = ["ELLIPSIS", "NORMALIZE_WHITESPACE",]
doctest_optionflags = ["ELLIPSIS"]

[tool.coverage.run]
branch = true
source = ["atpbar", "tests"]
concurrency = ["multiprocessing"]

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
'if __name__ == "__main__":',
"if TYPE_CHECKING:",
]

[tool.black]
# Doesn't appear to be effective with VSCode extension Black Formatter
skip-string-normalization = true
Expand Down

0 comments on commit 0ac5ed9

Please sign in to comment.