Skip to content

Commit fdbb71e

Browse files
committed
Formatting fixes.
1 parent 85c05e4 commit fdbb71e

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed

aws_doc_sdk_examples_tools/doc_gen_cli_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def mock_doc_gen(mock_example):
5555
short="&AHI;",
5656
sort="HealthImaging",
5757
version="medical-imaging-2023-07-19",
58-
sdk_id="Medical Imaging"
58+
sdk_id="Medical Imaging",
5959
)
6060
}
6161
doc_gen.sdks = {

aws_doc_sdk_examples_tools/doc_gen_test.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
),
3737
},
3838
services={
39-
"x": Service(long="AWS X", short="X", sort="aws x", version=1, sdk_id="AWSx")
39+
"x": Service(
40+
long="AWS X", short="X", sort="aws x", version=1, sdk_id="AWSx"
41+
)
4042
},
4143
),
4244
DocGen(
@@ -53,7 +55,9 @@
5355
),
5456
},
5557
services={
56-
"y": Service(long="AWS Y", short="Y", sort="aws y", version=1, sdk_id="AWSy")
58+
"y": Service(
59+
long="AWS Y", short="Y", sort="aws y", version=1, sdk_id="AWSy"
60+
)
5761
},
5862
),
5963
DocGen(
@@ -78,8 +82,12 @@
7882
),
7983
},
8084
services={
81-
"x": Service(long="AWS X", short="X", sort="aws x", version=1, sdk_id="AWSx"),
82-
"y": Service(long="AWS Y", short="Y", sort="aws y", version=1, sdk_id="AWSy"),
85+
"x": Service(
86+
long="AWS X", short="X", sort="aws x", version=1, sdk_id="AWSx"
87+
),
88+
"y": Service(
89+
long="AWS Y", short="Y", sort="aws y", version=1, sdk_id="AWSy"
90+
),
8391
},
8492
),
8593
)
@@ -135,7 +143,7 @@ def sample_doc_gen() -> DocGen:
135143
),
136144
sort="Amazon S3",
137145
version="2006-03-01",
138-
sdk_id="S3"
146+
sdk_id="S3",
139147
)
140148
},
141149
snippets={

aws_doc_sdk_examples_tools/metadata_test.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def load(
5252
),
5353
sort="api-gateway",
5454
version=1,
55-
sdk_id="apigateway"
55+
sdk_id="apigateway",
5656
),
5757
"medical-imaging": Service(
5858
long="&AHIlong;",
@@ -62,7 +62,7 @@ def load(
6262
),
6363
sort="HealthImaging",
6464
version=1,
65-
sdk_id="Medical Imaging"
65+
sdk_id="Medical Imaging",
6666
),
6767
"sqs": Service(
6868
long="&SQSlong;",
@@ -72,7 +72,7 @@ def load(
7272
),
7373
sort="sqs",
7474
version=1,
75-
sdk_id="SQS"
75+
sdk_id="SQS",
7676
),
7777
"s3": Service(
7878
long="&S3long;",
@@ -82,15 +82,15 @@ def load(
8282
),
8383
sort="s3",
8484
version=1,
85-
sdk_id="S3"
85+
sdk_id="S3",
8686
),
8787
"autogluon": Service(
8888
long="AutoGluon Test",
8989
short="AG Test",
9090
expanded=ServiceExpanded(long="AutoGluon Test", short="AutoGluon Test"),
9191
sort="autogluon",
9292
version=1,
93-
sdk_id=""
93+
sdk_id="",
9494
),
9595
}
9696
SDKS = {
@@ -1030,8 +1030,12 @@ def test_no_duplicate_title_abbrev():
10301030
),
10311031
},
10321032
services={
1033-
"svc": Service(long="Service", short="svc", version="1", sort="svc", sdk_id="SVC"),
1034-
"cvs": Service(long="CVS", short="cvs", version="2", sort="cvs", sdk_id="CVS"),
1033+
"svc": Service(
1034+
long="Service", short="svc", version="1", sort="svc", sdk_id="SVC"
1035+
),
1036+
"cvs": Service(
1037+
long="CVS", short="cvs", version="2", sort="cvs", sdk_id="CVS"
1038+
),
10351039
},
10361040
)
10371041
doc_gen.validate()

0 commit comments

Comments
 (0)