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,