Skip to content

Commit 8507a39

Browse files
nbroad1881mryab
andauthored
remove square brackets in comprehension
Co-authored-by: Max Ryabinin <mryabinin0@gmail.com>
1 parent b1fe94e commit 8507a39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/together/resources/finetune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def download(
614614
try:
615615
checkpoint_type = DownloadCheckpointType(checkpoint_type.lower())
616616
except ValueError:
617-
enum_strs = ", ".join([e.value for e in DownloadCheckpointType])
617+
enum_strs = ", ".join(e.value for e in DownloadCheckpointType)
618618
raise ValueError(
619619
f"Invalid checkpoint type: {checkpoint_type}. Choose one of {{{enum_strs}}}."
620620
)

0 commit comments

Comments
 (0)