diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6302b702b..23dcfc687 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 diff --git a/src/bidspm/validate.py b/src/bidspm/validate.py index c7d89f146..a3664d225 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