Skip to content

Commit

Permalink
STY: Apply ruff/flake8-implicit-str-concat rule ISC001
Browse files Browse the repository at this point in the history
	ISC001 Implicitly concatenated string literals on one line

This rule is currently disabled because it conflicts with the formatter:
	astral-sh/ruff#8272
  • Loading branch information
DimitriPapadopoulos committed May 4, 2024
1 parent 5a02b2d commit 07ad731
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .maint/update_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def zenodo(
misses = set(miss_creators).intersection(miss_contributors)
if misses:
print(
"Some people made commits, but are missing in .maint/ " f"files: {', '.join(misses)}",
f"Some people made commits, but are missing in .maint/ files: {', '.join(misses)}",
file=sys.stderr,
)

Expand Down Expand Up @@ -268,7 +268,7 @@ def _aslist(value):

if misses:
print(
"Some people made commits, but are missing in .maint/ " f"files: {', '.join(misses)}",
f"Some people made commits, but are missing in .maint/ files: {', '.join(misses)}",
file=sys.stderr,
)

Expand Down
2 changes: 1 addition & 1 deletion .maint/update_zenodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def loads_contributors(s):
zenodo['contributors'] = zen_contributors

print(
'Some people made commits, but are missing in .maint/ ' 'files: {}.'.format(
'Some people made commits, but are missing in .maint/ files: {}.'.format(
', '.join(set(miss_creators).intersection(miss_contributors))
),
file=sys.stderr,
Expand Down
2 changes: 1 addition & 1 deletion fmriprep/cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def parse_args(args=None, namespace=None):
missing_subjects = participant_label - set(all_subjects)
if missing_subjects:
parser.error(
'One or more participant labels were not found in the BIDS directory: ' '{}.'.format(
'One or more participant labels were not found in the BIDS directory: {}.'.format(
', '.join(missing_subjects)
)
)
Expand Down

0 comments on commit 07ad731

Please sign in to comment.