diff options
author | 2015-10-11 23:54:33 -0400 | |
---|---|---|
committer | 2015-10-28 12:49:56 -0400 | |
commit | 9b0ba31859207264f5bf7af048d5d89725dd4025 (patch) | |
tree | d821ad7daf675e0889d03b2a15ff28a36686eb60 /.pylintrc | |
parent | hash_utils: decode output of popen (diff) | |
download | catalyst-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-- | .pylintrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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] |