diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d577f0555dc..2ed75c04bc7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ repos: # Ruff mne - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.1 + rev: v0.12.2 hooks: - - id: ruff + - id: ruff-check name: ruff lint mne args: ["--fix"] files: ^mne/|^tools/ exclude: vulture_allowlist.py - - id: ruff + - id: ruff-check name: ruff lint mne preview args: ["--fix", "--preview", "--select=NPY201"] files: ^mne/|^tools/ - - id: ruff + - id: ruff-check name: ruff lint doc, tutorials, and examples # D103: missing docstring in public function # D400: docstring first line must end with period @@ -82,7 +82,7 @@ repos: # zizmor - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.10.0 + rev: v1.11.0 hooks: - id: zizmor