about summary refs log tree commit diff stats
path: root/.pylintrc
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-01-15 21:16:44 +0100
committertoonn <toonn@toonn.io>2020-07-05 15:23:42 +0200
commit7e85b38d8f777dfaaaec975eb2ed617634574e72 (patch)
treeb7e197a53e0a1ec33697a221052bdc867493ed34 /.pylintrc
parentcbc8177825b11843c11c353df0fa03b016a331fc (diff)
downloadranger-7e85b38d8f777dfaaaec975eb2ed617634574e72.tar.gz
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.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc2
1 files changed, 1 insertions, 1 deletions
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