Skip to content

Commit 6926ff8

Browse files
author
Shikha Panghal
committed
fixing flake8 build
1 parent fa26334 commit 6926ff8

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

src/sagemaker/estimator.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,8 +1130,6 @@ def _prepare_init_params_from_job_description(cls, job_details, model_channel_na
11301130
max_wait = job_details.get("StoppingCondition", {}).get("MaxWaitTimeInSeconds")
11311131
if max_wait:
11321132
init_params["max_wait"] = max_wait
1133-
1134-
11351133
return init_params
11361134

11371135
def transformer(
@@ -1545,7 +1543,6 @@ def _get_train_args(cls, estimator, inputs, experiment_config):
15451543

15461544
return train_args
15471545

1548-
15491546
@classmethod
15501547
def _add_spot_checkpoint_args(cls, local_mode, estimator, train_args):
15511548
"""Placeholder docstring"""

tests/integ/test_tf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def test_mnist_with_checkpoint_config(
105105
assert actual_retry_strategy == expected_retry_strategy
106106

107107

108-
109108
def test_server_side_encryption(sagemaker_session, tf_full_version, tf_full_py_version):
110109
with kms_utils.bucket_with_encryption(sagemaker_session, ROLE) as (bucket_with_kms, kms_key):
111110
output_path = os.path.join(

tests/unit/test_estimator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,7 @@ def test_training_job_with_rule_job_summary(sagemaker_session, training_job_desc
10311031
},
10321032
]
10331033

1034+
10341035
def test_framework_with_spot_and_checkpoints(sagemaker_session):
10351036
f = DummyFramework(
10361037
"my_script.py",

tests/unit/test_mxnet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ def test_mx_missing_environment_variables(
994994
)
995995
assert not mx.environment
996996

997+
997998
def test_mx_enable_sm_metrics(sagemaker_session, mxnet_training_version, mxnet_training_py_version):
998999
mx = MXNet(
9991000
entry_point=SCRIPT_PATH,

0 commit comments

Comments
 (0)