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"] 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 ```