aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc
diff options
context:
space:
mode:
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,