From 27b5236239399d6c8d8dcdc41bff8a0873b72582 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 09:13:26 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#1192) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- tests/create_dummy_dataset.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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)