aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-07-21 03:18:11 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2017-07-25 18:19:35 +0000
commit69b7231776dc42c87abad33430c66e7b302bf00c (patch)
tree1f6969dbde76ee99aba104e65d14efa8208f6007 /.pylintrc
parent1c0b20dda793124f3b97978060ba13678b614d3e (diff)
gRPC Python test infrastructure
(The time-related first part of it, anyway.)
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,