From ad8b1d15126ca05237b49d4a640d6d0f9bb8a4bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 20:15:53 +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.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.16.6) --- .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..49f36d7 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.6 hooks: - id: ruff-check args: [ "--fix", "--show-fixes"] From 6900b7f3ad9e4396224ecba43a81568256cf93b3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 20:16:01 +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 ```