Skip to content

Commit 01a8235

Browse files
committed
mark this editing of a mutable while looping as okay
1 parent e36af9e commit 01a8235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltest/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main() -> int:
132132
for t in tests:
133133
if t.get("label"):
134134
logger.warning("The `label` field is deprecated. Use `id` field instead.")
135-
t["short_name"] = t["label"]
135+
t["short_name"] = t["label"] # noqa: B909
136136
elif t.get("id"):
137137
if isinstance(t.get("id"), str):
138138
t["short_name"] = utils.shortname(t["id"])

0 commit comments

Comments
 (0)