Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce 100% test coverage #2173

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ from the `dev branch`_ to work on the latest code and reduce merging issues.
If you add/change holiday official dates or names your code must include references to
all sources (government sites, archived web pages, wiki pages, etc) you've used
while working on this PR. That could be done either as a ``References`` section update or
as a comment on the relevant part of the code. Contributed PRs_ are required to include valid test
as a comment on the relevant part of the code. Contributed PRs_ are required to include 100% test
coverage in order to be merged. Please don't hesitate to ask for help if you
need one with the tests.

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ module = "holidays.groups.*"
disable_error_code = "attr-defined"

[tool.pytest.ini_options]
addopts = [
"--cov-fail-under=100",
]
filterwarnings = [
"ignore::DeprecationWarning:holidays.deprecations.v1_incompatibility",
]
Expand Down
Loading