Skip to content

Commit

Permalink
chore: Adjust coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Oct 26, 2023
1 parent 98b765a commit 68beb41
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .coveragerc

This file was deleted.

17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,23 @@ Changelog = "https://github.com/django-cms/djangocms-snippet/blob/master/CHANGEL
Repository = "https://github.com/django-cms/djangocms-snippet"
Support = "https://www.django-cms.org/slack/"

[tool.coverage.run]
branch = true
parallel = true
source = [
"djangocms_snippet",
"tests",
]

[tool.coverage.paths]
source = [
"src",
".tox/**/site-packages",
]

[tool.coverage.report]
show_missing = true

[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
Expand Down

0 comments on commit 68beb41

Please sign in to comment.