Skip to content

Commit

Permalink
Enable too-many-return-statements lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielmanistaatgoogle committed Mar 3, 2017
1 parent c3038a5 commit 8fccf59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ notes=FIXME,XXX
#TODO: Enable next-method-called
#TODO: Enable import-error
#TODO: Enable useless-else-on-loop
#TODO: Enable too-many-return-statements
#TODO: Enable too-many-nested-blocks

disable=missing-docstring,too-few-public-methods,no-init,duplicate-code,invalid-name,locally-disabled,protected-access,no-name-in-module,unused-argument,wrong-import-order,cyclic-import,too-many-instance-attributes,too-many-lines,redefined-variable-type,next-method-called,import-error,useless-else-on-loop,too-many-return-statements,too-many-nested-blocks
disable=missing-docstring,too-few-public-methods,no-init,duplicate-code,invalid-name,locally-disabled,protected-access,no-name-in-module,unused-argument,wrong-import-order,cyclic-import,too-many-instance-attributes,too-many-lines,redefined-variable-type,next-method-called,import-error,useless-else-on-loop,too-many-nested-blocks
2 changes: 2 additions & 0 deletions src/python/grpcio/grpc/beta/_server_adaptations.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
from grpc.framework.foundation import stream
from grpc.framework.interfaces.face import face

# pylint: disable=too-many-return-statements

_DEFAULT_POOL_SIZE = 8


Expand Down

0 comments on commit 8fccf59

Please sign in to comment.