Skip to content

Commit 02480a6

Browse files
committed
Fix build
1 parent d33cc8a commit 02480a6

15 files changed

+2
-17
lines changed

noxfile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@
3333
ADS_TEMPLATES = path.join(path.dirname(__file__), "gapic", "ads-templates")
3434
BLACK_VERSION = "black==25.1.0"
3535
BLACK_PATHS = ["docs", "gapic", "tests", "test_utils", "noxfile.py", "setup.py"]
36-
BLACK_EXCLUDES = "|".join(
37-
["tests/integration", ".*pb2.py", "tests/unit/samplegen/golden_snippets"]
38-
)
36+
# exclude golden files and generated protobuf code
37+
BLACK_EXCLUDES = "|".join([".*golden.*", ".*pb2.py"])
3938

4039
ALL_PYTHON = (
4140
"3.7",

tests/snippetgen/goldens/mollusca_v1_generated_snippets_list_resources_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@ async def sample_list_resources():
5151
async for response in page_result:
5252
print(response)
5353

54-
5554
# [END mollusca_v1_generated_Snippets_ListResources_async]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_list_resources_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@ def sample_list_resources():
5151
for response in page_result:
5252
print(response)
5353

54-
5554
# [END mollusca_v1_generated_Snippets_ListResources_sync]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_bidi_streaming_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,4 @@ def request_generator():
6060
async for response in stream:
6161
print(response)
6262

63-
6463
# [END mollusca_v1_generated_Snippets_MethodBidiStreaming_async]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_bidi_streaming_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,4 @@ def request_generator():
6060
for response in stream:
6161
print(response)
6262

63-
6463
# [END mollusca_v1_generated_Snippets_MethodBidiStreaming_sync]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_lro_signatures_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ async def sample_method_lro_signatures():
6161
# Handle the response
6262
print(response)
6363

64-
6564
# [END mollusca_v1_generated_Snippets_MethodLroSignatures_async]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_lro_signatures_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ def sample_method_lro_signatures():
6161
# Handle the response
6262
print(response)
6363

64-
6564
# [END mollusca_v1_generated_Snippets_MethodLroSignatures_sync]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_one_signature_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,4 @@ async def sample_method_one_signature():
5757
# Handle the response
5858
print(response)
5959

60-
6160
# [END mollusca_v1_generated_Snippets_MethodOneSignature_async]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_one_signature_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,4 @@ def sample_method_one_signature():
5757
# Handle the response
5858
print(response)
5959

60-
6160
# [END mollusca_v1_generated_Snippets_MethodOneSignature_sync]

tests/snippetgen/goldens/mollusca_v1_generated_snippets_method_server_streaming_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,4 @@ async def sample_method_server_streaming():
5858
async for response in stream:
5959
print(response)
6060

61-
6261
# [END mollusca_v1_generated_Snippets_MethodServerStreaming_async]

0 commit comments

Comments
 (0)