Skip to content

Commit d2d0253

Browse files
beniericknikure
authored andcommitted
black-format
1 parent c32fbe2 commit d2d0253

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sagemaker/jumpstart/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ProprietaryModelFilterIdentifiers(str, Enum):
7171
}
7272

7373

74-
_PAD_ALPHABETIC_OPERATOR = lambda operator: ( # noqa E731
74+
_PAD_ALPHABETIC_OPERATOR = lambda operator: ( # noqa E731
7575
f" {operator} " if any(character.isalpha() for character in operator) else operator
7676
)
7777

tests/unit/sagemaker/remote_function/core/test_serialization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def __init__(self, x):
408408
@patch("sagemaker.s3.S3Downloader.read_bytes", new=read_error)
409409
def test_serialize_deserialize_service_error():
410410

411-
my_func = lambda a: a + 10 # noqa: E731
411+
my_func = lambda a: a + 10 # noqa: E731
412412

413413
s3_uri = random_s3_uri()
414414
with pytest.raises(
@@ -439,7 +439,7 @@ def test_serialize_deserialize_service_error():
439439
def test_serialize_deserialize_exception_with_traceback():
440440
s3_uri = random_s3_uri()
441441

442-
class CustomError(Exception): ... # noqa E701
442+
class CustomError(Exception): ... # noqa E701
443443

444444
def func_a():
445445
raise TypeError

0 commit comments

Comments
 (0)