diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7d65ac6b6..d8e397b96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: [--config=pyproject.toml] diff --git a/tests/create_dummy_dataset.py b/tests/create_dummy_dataset.py index 6691deb03..b5fce77dd 100644 --- a/tests/create_dummy_dataset.py +++ b/tests/create_dummy_dataset.py @@ -143,9 +143,9 @@ def create_raw_fmap(target_dir, sub, ses): json.dump(content, f, indent=4) task = "vismotion" - content[ - "IntendedFor" - ] = f"ses-{ses}/func/sub-{sub}_ses-{ses}_task-{task}_run-1_part-mag_{suffix}.nii" + content["IntendedFor"] = ( + f"ses-{ses}/func/sub-{sub}_ses-{ses}_task-{task}_run-1_part-mag_{suffix}.nii" + ) with open(this_dir / f"sub-{sub}_ses-{ses}_run-2_phasediff.json", "w") as f: json.dump(content, f, indent=4)