Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1192)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@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>
  • Loading branch information
pre-commit-ci[bot] authored Jan 30, 2024
1 parent 21ae4a0 commit 27b5236
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions tests/create_dummy_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 27b5236

Please sign in to comment.