diff --git a/instrumentation/opentelemetry-instrumentation-grpc/tests/protobuf/test_server_pb2_grpc.py b/instrumentation/opentelemetry-instrumentation-grpc/tests/protobuf/test_server_pb2_grpc.py index 003b68f4f1..28e69f72c2 100644 --- a/instrumentation/opentelemetry-instrumentation-grpc/tests/protobuf/test_server_pb2_grpc.py +++ b/instrumentation/opentelemetry-instrumentation-grpc/tests/protobuf/test_server_pb2_grpc.py @@ -12,6 +12,7 @@ def __init__(self, channel): Args: channel: A grpc.Channel. """ + # pylint: disable=invalid-name self.SimpleMethod = channel.unary_unary( "/GRPCTestServer/SimpleMethod", request_serializer=test__server__pb2.Request.SerializeToString, @@ -36,6 +37,8 @@ def __init__(self, channel): class GRPCTestServerServicer: """Missing associated documentation comment in .proto file""" + # pylint: disable=invalid-name + # pylint: disable=no-self-use def SimpleMethod(self, request, context): """Missing associated documentation comment in .proto file""" @@ -62,7 +65,7 @@ def BidirectionalStreamingMethod(self, request_iterator, context): raise NotImplementedError("Method not implemented!") -def add_GRPCTestServerServicer_to_server(servicer, server): +def add_GRPCTestServerServicer_to_server(servicer, server): # pylint: disable=invalid-name rpc_method_handlers = { "SimpleMethod": grpc.unary_unary_rpc_method_handler( servicer.SimpleMethod, @@ -95,6 +98,7 @@ def add_GRPCTestServerServicer_to_server(servicer, server): class GRPCTestServer: """Missing associated documentation comment in .proto file""" + # pylint: disable=invalid-name @staticmethod def SimpleMethod( request,