aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc-tests
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2018-06-08 08:16:31 -0700
committerGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2018-06-08 08:31:23 -0700
commit7cd4ee7a42d40a52a9312189f65ed14fac430adc (patch)
treec10691c32e0e2bb4d23084a15dac9800a9d0e2ec /.pylintrc-tests
parent3b248945f8a99776141ee1d996af0690ee79cc47 (diff)
Change notes on suppressions
Diffstat (limited to '.pylintrc-tests')
-rw-r--r--.pylintrc-tests15
1 files changed, 8 insertions, 7 deletions
diff --git a/.pylintrc-tests b/.pylintrc-tests
index 33da14260d..ebe9d507cd 100644
--- a/.pylintrc-tests
+++ b/.pylintrc-tests
@@ -103,12 +103,13 @@ disable=
# TODO(https://github.com/grpc/grpc/issues/261): Maybe we could have
# this one if we extracted just a few more helper functions...
too-many-nested-blocks,
- # NOTE(nathaniel): I have disputed the premise of this inspection from
- # the beginning and will continue to do so until it goes away for good.
+ # TODO(https://github.com/grpc/grpc/issues/261): Disable unnecessary
+ # super-init requirement for abstract class implementations for now.
+ super-init-not-called,
+ # NOTE(nathaniel): A single statement that always returns program
+ # control is better than two statements the first of which sometimes
+ # returns program control and the second of which always returns
+ # program control. Probably generally, but definitely in the cases of
+ # if:/else: and for:/else:.
useless-else-on-loop,
- # NOTE(mmx): Our existing code is written to favor explicit else over
- # relying on return within a branch.
no-else-return,
- # NOTE(mmx): Disable unnecessary super-init requirement for abstract
- # class implementations.
- super-init-not-called,