From adedd43b09e116f2059e6ce9992f97ce761b047d Mon Sep 17 00:00:00 2001 From: Mehrdad Afshari Date: Thu, 7 Jun 2018 23:40:03 -0700 Subject: [PATCH] Disable additional pylint warnings due to upgrade --- .pylintrc | 6 ++++++ .pylintrc-tests | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.pylintrc b/.pylintrc index 453b45aab52..01184283dfc 100644 --- a/.pylintrc +++ b/.pylintrc @@ -75,3 +75,9 @@ disable= # 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. 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, diff --git a/.pylintrc-tests b/.pylintrc-tests index b358b2c4a0e..33da14260d7 100644 --- a/.pylintrc-tests +++ b/.pylintrc-tests @@ -106,3 +106,9 @@ disable= # 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. 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,