From 7de87004e3c3048306ed3e9756c57b1849f77856 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 21:47:20 +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/astral-sh/ruff-pre-commit: v0.14.10 → v0.16.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.16.10) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f9feb43..7be6652 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: check-toml - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.16.10 hooks: - id: ruff-check args: [ "--fix", "--show-fixes"] From 6f9abe5477166828988aaeec2f9ea8aaf26ce35e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 21:49:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b8050a..35fa8ea 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,10 @@ from bids_validator import BIDSValidator validator = BIDSValidator() -filepaths = ["/sub-01/anat/sub-01_rec-CSD_T1w.nii.gz", "/sub-01/anat/sub-01_acq-23_rec-CSD_T1w.exe"] +filepaths = [ + '/sub-01/anat/sub-01_rec-CSD_T1w.nii.gz', + '/sub-01/anat/sub-01_acq-23_rec-CSD_T1w.exe', +] for filepath in filepaths: print(validator.is_bids(filepath)) # will print True, and then False ```