diff options
author | Nathaniel Manista <nathaniel@google.com> | 2017-03-03 06:23:53 +0000 |
---|---|---|
committer | Nathaniel Manista <nathaniel@google.com> | 2017-03-03 06:23:53 +0000 |
commit | 3ec1366eb6cc9d6f7a00b0de8c73a5c657daf21d (patch) | |
tree | bd32849842dbafcb0b42314c8833a7c4aec6d332 /src/python/grpcio/grpc/beta | |
parent | 8fccf59d047ab8f837f7a12122ef81a663bd6885 (diff) |
Enable unused-argument lint
Diffstat (limited to 'src/python/grpcio/grpc/beta')
-rw-r--r-- | src/python/grpcio/grpc/beta/_client_adaptations.py | 2 | ||||
-rw-r--r-- | src/python/grpcio/grpc/beta/_server_adaptations.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio/grpc/beta/_client_adaptations.py b/src/python/grpcio/grpc/beta/_client_adaptations.py index 9b5f5766d2..3c69acc019 100644 --- a/src/python/grpcio/grpc/beta/_client_adaptations.py +++ b/src/python/grpcio/grpc/beta/_client_adaptations.py @@ -35,7 +35,7 @@ from grpc.framework.common import cardinality from grpc.framework.foundation import future from grpc.framework.interfaces.face import face -# pylint: disable=too-many-arguments,too-many-locals +# pylint: disable=too-many-arguments,too-many-locals,unused-argument _STATUS_CODE_TO_ABORTION_KIND_AND_ABORTION_ERROR_CLASS = { grpc.StatusCode.CANCELLED: (face.Abortion.Kind.CANCELLED, diff --git a/src/python/grpcio/grpc/beta/_server_adaptations.py b/src/python/grpcio/grpc/beta/_server_adaptations.py index ed6aa4c3ef..cf10c26d2f 100644 --- a/src/python/grpcio/grpc/beta/_server_adaptations.py +++ b/src/python/grpcio/grpc/beta/_server_adaptations.py @@ -181,7 +181,7 @@ def _run_request_pipe_thread(request_iterator, request_consumer, return request_consumer.terminate() - def stop_request_pipe(timeout): + def stop_request_pipe(timeout): # pylint: disable=unused-argument thread_joined.set() request_pipe_thread = _common.CleanupThread( |