Skip to content

Commit

Permalink
Merge pull request #379 from DimitriPapadopoulos/set
Browse files Browse the repository at this point in the history
MNT: Use a set literal, not a list literal
  • Loading branch information
effigies committed Nov 9, 2023
2 parents 2019064 + e671d36 commit 1b3da52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wrapper/smriprep_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ def _get_posargs(usage):

# Make sure we're not clobbering options we don't mean to
overlap = set(w_flags).intersection(t_flags)
expected_overlap = set(
["h", "version", "w", "fs-license-file", "use-plugin", "fs-subjects-dir"]
)
expected_overlap = {
"h", "version", "w", "fs-license-file", "use-plugin", "fs-subjects-dir"
}

assert overlap == expected_overlap, "Clobbering options: {}".format(
", ".join(overlap - expected_overlap)
Expand Down

0 comments on commit 1b3da52

Please sign in to comment.