File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,9 @@ def __init__(
585
585
or security_group_ids is not None
586
586
and subnets is None
587
587
):
588
- raise RuntimeError ("When setting up custom VPC, both subnets and security_group_ids must be set" )
588
+ raise RuntimeError (
589
+ "When setting up custom VPC, both subnets and security_group_ids must be set"
590
+ )
589
591
590
592
if self .instance_type in ("local" , "local_gpu" ):
591
593
if self .instance_type == "local_gpu" and self .instance_count > 1 :
Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ def test_subnets_without_security_groups(sagemaker_session):
517
517
DummyFramework (
518
518
entry_point = SCRIPT_PATH ,
519
519
sagemaker_session = sagemaker_session ,
520
- subnets = [' 123' ],
520
+ subnets = [" 123" ],
521
521
)
522
522
523
523
@@ -526,7 +526,7 @@ def test_security_groups_without_subnets(sagemaker_session):
526
526
DummyFramework (
527
527
entry_point = SCRIPT_PATH ,
528
528
sagemaker_session = sagemaker_session ,
529
- security_group_ids = [' 123' ],
529
+ security_group_ids = [" 123" ],
530
530
)
531
531
532
532
You can’t perform that action at this time.
0 commit comments