From 9c2186c9a87e96df09ee1fc897117e4fc12769d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:43:41 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/macisamuele/language-formatters-pre-commit-hooks: v2.15.0 → v2.16.0](https://github.com/macisamuele/language-formatters-pre-commit-hooks/compare/v2.15.0...v2.16.0) - [github.com/pycqa/isort: 7.0.0 → 8.0.0](https://github.com/pycqa/isort/compare/7.0.0...8.0.0) - [github.com/psf/black-pre-commit-mirror: 25.11.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.11.0...26.1.0) - [github.com/asottile/pyupgrade: v3.21.1 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.21.1...v3.21.2) - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.18.2...v1.19.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6302b702..23dcfc68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: args: [--autofix, --no-sort-keys] - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.15.0 + rev: v2.16.0 hooks: - id: pretty-format-toml args: [--autofix, --indent, '4'] @@ -66,25 +66,25 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pycqa/isort - rev: 7.0.0 + rev: 8.0.0 hooks: - id: isort args: [--profile, black] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.11.0 + rev: 26.1.0 hooks: - id: black args: [--config=pyproject.toml] - repo: https://github.com/asottile/pyupgrade - rev: v3.21.1 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v1.19.1 hooks: - id: mypy files: bidspm From 70efb39bedddd72d8adafc88549b08762df1459d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:44:10 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/bidspm/validate.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bidspm/validate.py b/src/bidspm/validate.py index c7d89f14..a3664d22 100644 --- a/src/bidspm/validate.py +++ b/src/bidspm/validate.py @@ -19,11 +19,9 @@ def validate(file: Path) -> int: BIDSStatsModel.parse_file(file) return 0 except pydantic.error_wrappers.ValidationError as e: - log.warning( - f"""{file} is not a valid BIDS Stats Model file. + log.warning(f"""{file} is not a valid BIDS Stats Model file. Please use the validator: https://bids-standard.github.io/stats-models/validator.html -""" - ) +""") log.warning(e) return 1