From 01b568dbe744b04d712790c7966f24e0db1c90b7 Mon Sep 17 00:00:00 2001 From: mscheltienne Date: Mon, 22 Apr 2024 13:56:00 +0200 Subject: [PATCH 1/3] fix codecov config --- .codecov.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.codecov.yaml b/.codecov.yaml index 408f379c..8b7d7dcd 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -14,7 +14,7 @@ coverage: target: 95% if_no_uploads: error if_not_found: success - if_ci_failed: failure + if_ci_failed: error project: default: false library: @@ -22,4 +22,4 @@ coverage: target: 90% if_no_uploads: error if_not_found: success - if_ci_failed: failure + if_ci_failed: error From b8d467e8f225395834fc541169abc3c1e3f5494a Mon Sep 17 00:00:00 2001 From: mscheltienne Date: Mon, 22 Apr 2024 14:44:15 +0200 Subject: [PATCH 2/3] suppress sphinx warning --- docs/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 908702a1..71fe5dd8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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 = { From ec7e088058e3335b22960154bbcccb5130d97126 Mon Sep 17 00:00:00 2001 From: Mathieu Scheltienne Date: Mon, 22 Apr 2024 19:58:59 +0200 Subject: [PATCH 3/3] ignore warning --- pycrostates/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pycrostates/conftest.py b/pycrostates/conftest.py index e3e7cdc8..dfab2716 100644 --- a/pycrostates/conftest.py +++ b/pycrostates/conftest.py @@ -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()