aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-11 23:54:33 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-28 12:49:56 -0400
commit9b0ba31859207264f5bf7af048d5d89725dd4025 (patch)
treed821ad7daf675e0889d03b2a15ff28a36686eb60 /.pylintrc
parenthash_utils: decode output of popen (diff)
downloadcatalyst-9b0ba31859207264f5bf7af048d5d89725dd4025.tar.gz
catalyst-9b0ba31859207264f5bf7af048d5d89725dd4025.tar.bz2
catalyst-9b0ba31859207264f5bf7af048d5d89725dd4025.zip
lint: convert type/types to isinstance
pylint complains about using (type(...) == types.xxx) checks as it prefers isinstance(..., xxx) instead. Convert the code base to it.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index b3327cf5..2a03f239 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -32,11 +32,10 @@ load-plugins=
# bad-continuation -- might be hard with tab indentation policy
# invalid-name -- need to manage constants better
# line-too-long -- figure out a length and stick to it
-# unidiomatic-typecheck -- convert to isinstance
# redefined-outer-name -- clean up code to not do this
# super-init-not-called -- fix the classes __init__ structure
# no-init -- update classes w/missing __init__ functions
-disable=missing-docstring, too-many-lines, too-many-branches, too-many-statements, too-few-public-methods, too-many-instance-attributes, too-many-public-methods, too-many-locals, too-many-arguments, locally-enabled, locally-disabled, fixme, broad-except, bad-whitespace, bad-continuation, invalid-name, line-too-long, unidiomatic-typecheck, redefined-outer-name, super-init-not-called, no-init
+disable=missing-docstring, too-many-lines, too-many-branches, too-many-statements, too-few-public-methods, too-many-instance-attributes, too-many-public-methods, too-many-locals, too-many-arguments, locally-enabled, locally-disabled, fixme, broad-except, bad-whitespace, bad-continuation, invalid-name, line-too-long, redefined-outer-name, super-init-not-called, no-init
[REPORTS]