Skip to content

Commit

Permalink
Move .coveragerc into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rec committed Oct 18, 2023
1 parent 28396cd commit e7ee6ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .coveragerc

This file was deleted.

10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ coverage = "*"
flake8 = "*"
pytest = "*"


[tool.coverage]
[tool.coverage.run]
branch = "True"
source = "xmod"

[tool.coverage.report]
fail_under = "100"
skip_covered = "True"
exclude_lines = ["", "pragma: no cover", "if False:", "if __name__ == .__main__.:", "raise NotImplementedError"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit e7ee6ae

Please sign in to comment.