aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-07-25 19:29:32 -0700
committerGravatar GitHub <noreply@github.com>2017-07-25 19:29:32 -0700
commitb414268580dc0a81b5a2c84d3310bceeec6530ae (patch)
tree33241a23811f4cb6d1856a98fea7d3e65355b859 /.pylintrc
parent0b0888c930092af22e16f50bf66c47fc5cb44c44 (diff)
parent69b7231776dc42c87abad33430c66e7b302bf00c (diff)
Merge pull request #11901 from nathanielmanistaatgoogle/grpc_testing
gRPC Python test infrastructure.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index 8447821b4e..05b4e685fb 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -41,6 +41,11 @@ disable=
# NOTE(nathaniel): We don't write doc strings for most private code
# elements.
missing-docstring,
+ # NOTE(nathaniel): In numeric comparisons it is better to have the
+ # lesser (or lesser-or-equal-to) quantity on the left when the
+ # expression is true than it is to worry about which is an identifier
+ # and which a literal value.
+ misplaced-comparison-constant,
# NOTE(nathaniel): Our completely abstract interface classes don't have
# constructors.
no-init,