From 7e85b38d8f777dfaaaec975eb2ed617634574e72 Mon Sep 17 00:00:00 2001 From: toonn Date: Wed, 15 Jan 2020 21:16:44 +0100 Subject: Add global Pylint ignores `no-else-break/continue/raise/return` because they're nonsense and result in actively less readable code. `useless-object-inheritance` because that's a py3-ism. `import-outside-toplevel` because we use this in many places to good effect. --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.pylintrc') diff --git a/.pylintrc b/.pylintrc index 75bb7baf..b42432ca 100644 --- a/.pylintrc +++ b/.pylintrc @@ -8,7 +8,7 @@ max-branches=16 [FORMAT] max-line-length = 99 -disable=locally-disabled,locally-enabled,missing-docstring,duplicate-code,fixme,cyclic-import,redefined-variable-type,stop-iteration-return +disable=cyclic-import,duplicate-code,fixme,import-outside-toplevel,locally-disabled,locally-enabled,missing-docstring,no-else-break,no-else-continue,no-else-raise,no-else-return,redefined-variable-type,stop-iteration-return,useless-object-inheritance [TYPECHECK] ignored-classes=ranger.core.actions.Actions -- cgit 1.4.1-2-gfad0