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

Fix codecov config #172

Merged
merged 3 commits into from
Apr 22, 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
4 changes: 2 additions & 2 deletions .codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ coverage:
target: 95%
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
if_ci_failed: error
project:
default: false
library:
informational: true
target: 90%
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
if_ci_failed: error
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
# make `filter` a cross-reference to the Python function “filter”.
default_role = "py:obj"

# list of warning types to suppress
suppress_warnings = ["config.cache"]

# -- options for HTML output -------------------------------------------------
html_theme = "pydata_sphinx_theme"
html_theme_options = {
Expand Down
2 changes: 2 additions & 0 deletions pycrostates/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def pytest_configure(config):
# Joblib
ignore:ast\.Num is deprecated.*:DeprecationWarning
ignore:Attribute n is deprecated.*:DeprecationWarning
# MNE
ignore:Python 3.14 will, by default, filter extracted tar.*:DeprecationWarning
"""
for warning_line in warnings_lines.split("\n"):
warning_line = warning_line.strip()
Expand Down
Loading