Skip to content

Commit 5b8d790

Browse files
committed
pylint
1 parent 0386583 commit 5b8d790

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sagemaker/modules/train/model_trainer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,8 @@ def _prepare_train_script(
838838
# This should never be reached, as the source_code should have been validated.
839839
raise ValueError(
840840
f"Unsupported SourceCode or DistributedConfig: {source_code}, {distributed}."
841-
+ f"Please provide a valid configuration with atleast one of 'command' or entry_script'."
841+
+ "Please provide a valid configuration with atleast one of 'command'"
842+
+ " or entry_script'."
842843
)
843844

844845
train_script = TRAIN_SCRIPT_TEMPLATE.format(

0 commit comments

Comments
 (0)