From ef6b2e85be54a644e34125c68f1e5699b03709f2 Mon Sep 17 00:00:00 2001 From: Julius Milan Date: Wed, 31 May 2017 11:43:31 +0200 Subject: [PATCH] pylintrc: disable pylint no-else-return warnings pylint's 1.7.1 new no-else-return (R1705) warnings enforces this style: if whatever: return something return something_else over this one if whatever: return something else: return something_else Disabling this kind of warnings, it is estetical only and furthermore the 2-nd one (the one to avoid) considered as more readable. --- pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index c23b406..934d7c0 100644 --- a/pylintrc +++ b/pylintrc @@ -30,7 +30,7 @@ load-plugins= # can either give multiple identifier separated by comma (,) or put this option # multiple time (only on the command line, not in the configuration file where # it should appear only once). -disable=C0111,W0212,R0201,R0903,R0904,I0011,W0603,W0622,I0001,R0912,E1101,C0302,C0330,E1102,W1202,E0012 +disable=C0111,W0212,R0201,R0903,R0904,I0011,W0603,W0622,I0001,R0912,E1101,C0302,C0330,E1102,W1202,E0012,R1705 [REPORTS] -- 2.7.5