Skip to content

Commit f6c6bd7

Browse files
[pre-commit.ci] pre-commit autoupdate (#13222)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Larson <[email protected]>
1 parent bd0da9b commit f6c6bd7

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/zizmor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
"*": ref-pin

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Ruff mne
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.11.5
4+
rev: v0.11.6
55
hooks:
66
- id: ruff
77
name: ruff lint mne
@@ -82,7 +82,7 @@ repos:
8282

8383
# zizmor
8484
- repo: https://github.com/woodruffw/zizmor-pre-commit
85-
rev: v1.5.2
85+
rev: v1.6.0
8686
hooks:
8787
- id: zizmor
8888

mne/commands/tests/test_commands.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_show_fiff(tmp_path):
113113
with open(bad_fname, "wb") as fout:
114114
with open(raw_fname, "rb") as fin:
115115
fout.write(fin.read(100000))
116-
with pytest.warns(RuntimeWarning, match="Invalid tag"):
116+
with pytest.warns(Warning, match=".*valid tag.*"):
117117
lines = show_fiff(bad_fname, output=list)
118118
last_line = lines[-1]
119119
assert last_line.endswith(">>>>BAD @9015")

mne/decoding/tests/test_receptive_field.py

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def test_time_delay():
175175
@pytest.mark.slowtest # slow on Azure
176176
@pytest.mark.parametrize("n_jobs", n_jobs_test)
177177
@pytest.mark.filterwarnings("ignore:Estimator .* has no __sklearn_tags__.*")
178+
@pytest.mark.filterwarnings("ignore:The following error was .*__sklearn_tags__.*")
178179
def test_receptive_field_basic(n_jobs):
179180
"""Test model prep and fitting."""
180181
# Make sure estimator pulling works

0 commit comments

Comments
 (0)