Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#12629)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored May 28, 2024
1 parent c600f90 commit dff9769
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Ruff mne
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
rev: v0.4.5
hooks:
- id: ruff
name: ruff lint mne
Expand All @@ -22,7 +22,7 @@ repos:

# Codespell
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions mne/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def pytest_configure(config):
# PySide6
ignore:Enum value .* is marked as deprecated:DeprecationWarning
ignore:Function.*is marked as deprecated, please check the documentation.*:DeprecationWarning
ignore:Failed to disconnect.*:RuntimeWarning
# pkg_resources usage bug
ignore:Implementing implicit namespace packages.*:DeprecationWarning
ignore:Deprecated call to `pkg_resources.*:DeprecationWarning
Expand Down
2 changes: 1 addition & 1 deletion mne/tests/test_bem.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test_make_bem_model(tmp_path, kwargs, fname):
if len(kwargs.get("conductivity", (0, 0, 0))) == 1:
assert "distance" not in log
else:
assert re.search(r"urfaces is approximately *3\.4 mm", log) is not None
assert re.search(r"surfaces is approximately *3\.4 mm", log) is not None
assert re.search(r"inner skull CM is *0\.65 *-9\.62 *43\.85 mm", log) is not None
model_c = read_bem_surfaces(fname)
_compare_bem_surfaces(model, model_c)
Expand Down

0 comments on commit dff9769

Please sign in to comment.