From b6ff005d4040b1a70230df42a91a0cbee42c3031 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 18 Jan 2023 01:53:12 +0000 Subject: pylintrc: Disable no-else-return check. else-return statements are closer to the cond ladders in lisp. They feel better composed, more symmetric and less like non-local exits. They should not be discouraged. * .pylintrc (disable): Add no-else-return. --- .pylintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.pylintrc') diff --git a/.pylintrc b/.pylintrc index de3f51a..2753c79 100644 --- a/.pylintrc +++ b/.pylintrc @@ -6,4 +6,5 @@ ignore-imports=yes disable= fixme, - duplicate-code \ No newline at end of file + duplicate-code, + no-else-return \ No newline at end of file -- cgit v1.2.3