Skip to content

Commit beed15a

Browse files
committed
fix reformatting error
1 parent 82cf222 commit beed15a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/sagemaker/debugger/debugger.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,7 @@ def sagemaker(
272272
)
273273

274274
if actions is not None and not rule_configs.is_valid_action_object(actions):
275-
raise RuntimeError(
276-
"""`actions` must be of type `Action` or `ActionList`!"""
277-
)
275+
raise RuntimeError("""`actions` must be of type `Action` or `ActionList`!""")
278276

279277
if other_trials_s3_input_paths is not None:
280278
for index, s3_input_path in enumerate(other_trials_s3_input_paths):
@@ -363,9 +361,7 @@ def custom(
363361
364362
"""
365363
if actions is not None and not rule_configs.is_valid_action_object(actions):
366-
raise RuntimeError(
367-
"""`actions` must be of type `Action` or `ActionList`!"""
368-
)
364+
raise RuntimeError("""`actions` must be of type `Action` or `ActionList`!""")
369365

370366
merged_rule_params = cls._set_rule_parameters(
371367
source, rule_to_invoke, other_trials_s3_input_paths, rule_parameters

0 commit comments

Comments
 (0)