Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit ecec3ed

Browse files
1 parent 7725453 commit ecec3ed

162 files changed

Lines changed: 11 additions & 61882 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.flake8

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2024 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
17+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333):
18+
# Resolve flake8 lint issues
1919
ignore = E203, E231, E266, E501, W503
2020
exclude =
21-
# Exclude environment test code.
22-
tests/environment/**
23-
24-
# Exclude generated code.
25-
**/proto/**
21+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333):
22+
# Ensure that generated code passes flake8 lint
2623
**/gapic/**
2724
**/services/**
2825
**/types/**
26+
# Exclude Protobuf gencode
2927
*_pb2.py
3028

3129
# Standard linting exemptions.

google/cloud/logging_v2/services/config_service_v2/transports/grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,11 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7373
f"Sending request for {client_call_details.method}",
7474
extra={
7575
"serviceName": "google.logging.v2.ConfigServiceV2",
76-
"rpcName": client_call_details.method,
76+
"rpcName": str(client_call_details.method),
7777
"request": grpc_request,
7878
"metadata": grpc_request["metadata"],
7979
},
8080
)
81-
8281
response = continuation(client_call_details, request)
8382
if logging_enabled: # pragma: NO COVER
8483
response_metadata = response.trailing_metadata()

google/cloud/logging_v2/services/logging_service_v2/transports/grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7272
f"Sending request for {client_call_details.method}",
7373
extra={
7474
"serviceName": "google.logging.v2.LoggingServiceV2",
75-
"rpcName": client_call_details.method,
75+
"rpcName": str(client_call_details.method),
7676
"request": grpc_request,
7777
"metadata": grpc_request["metadata"],
7878
},
7979
)
80-
8180
response = continuation(client_call_details, request)
8281
if logging_enabled: # pragma: NO COVER
8382
response_metadata = response.trailing_metadata()

google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7272
f"Sending request for {client_call_details.method}",
7373
extra={
7474
"serviceName": "google.logging.v2.MetricsServiceV2",
75-
"rpcName": client_call_details.method,
75+
"rpcName": str(client_call_details.method),
7676
"request": grpc_request,
7777
"metadata": grpc_request["metadata"],
7878
},
7979
)
80-
8180
response = continuation(client_call_details, request)
8281
if logging_enabled: # pragma: NO COVER
8382
response_metadata = response.trailing_metadata()

owl-bot-staging/v2/.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

owl-bot-staging/v2/.flake8

Lines changed: 0 additions & 34 deletions
This file was deleted.

owl-bot-staging/v2/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

owl-bot-staging/v2/MANIFEST.in

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)