about summary refs log tree commit diff
path: root/.pylintrc
diff options
context:
space:
mode:
authorArun Isaac2023-01-18 01:53:12 +0000
committerArun Isaac2023-01-18 01:53:12 +0000
commitb6ff005d4040b1a70230df42a91a0cbee42c3031 (patch)
tree6951ea3c92a449ea260cc33478eed577038fce48 /.pylintrc
parent16b99eef9b7ad16ff5eac1b71d6b81f97fc6fe66 (diff)
downloadgenenetwork3-b6ff005d4040b1a70230df42a91a0cbee42c3031.tar.gz
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.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc3
1 files changed, 2 insertions, 1 deletions
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