Skip to content

Commit

Permalink
Merge pull request #54 from alphatwirl/dev
Browse files Browse the repository at this point in the history
Move `.coveragerc` to `pyproject.toml`
  • Loading branch information
TaiSakuma authored Jun 29, 2024
2 parents c3c3cf2 + 0ac5ed9 commit 6757a5b
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 6757a5b

Please sign in to comment.