From: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Date: Wed, 3 Jan 2018 16:08:51 +0000 (+0000)
Subject: Remove 'inconsistent-return-statements' check from Pylint
X-Git-Tag: opnfv-6.0.0~232
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fa3a7b8d6cadbb2d5e9311cb2da040003f9b9140;p=yardstick.git

Remove 'inconsistent-return-statements' check from Pylint

There are several bugs in Pylint [1] [2] affecting
'inconsistent-return-statements' check. It will be temporarily
removed.

[1] https://github.com/PyCQA/pylint/issues/1782
[2] https://github.com/PyCQA/pylint/issues/1794

JIRA: YARDSTICK-911

Change-Id: Ib655ef1befdc734c646cdfb9b48f1db0ccdf676d
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
---

diff --git a/.pylintrc b/.pylintrc
index f8a60a636..f5dd77665 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -69,6 +69,7 @@ disable=
  consider-merging-isinstance,
  consider-using-ternary,
  duplicate-code,
+ inconsistent-return-statements,
  interface-not-implemented,
  no-else-return,
  no-self-use,