From 0568f66fee4e7a6e6a4ecdc194ed58a2ccb57d2b Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 30 Aug 2018 21:53:40 +0200 Subject: [PATCH] Disable no-else-return We want this enabled, but it seems that it's buggy at the moment. We exclude it for now. --- prospector.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prospector.yml b/prospector.yml index ed931fa..955dcd5 100644 --- a/prospector.yml +++ b/prospector.yml @@ -31,6 +31,12 @@ pylint: # We are running lint with Python 3.x but we still support Python 2.x # (corporate site is under Python 2.x) - useless-object-inheritance + # This breaks when we have something like this: + # if something: + # return from_if + # else: + # return from_else + - no-else-return mccabe: run: false