diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-03-21 01:04:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-03-21 01:04:21 -0400 |
commit | d22d4966433ee681c3a2b6530b995b3eb55c96a9 (patch) | |
tree | caa265241cc84e6e7910dfe10cecc176a0bb704d | |
parent | stagebase: clean up some redundant key lookups (diff) | |
download | catalyst-d22d4966433ee681c3a2b6530b995b3eb55c96a9.tar.gz catalyst-d22d4966433ee681c3a2b6530b995b3eb55c96a9.tar.bz2 catalyst-d22d4966433ee681c3a2b6530b995b3eb55c96a9.zip |
pylintrc: update for pylint-1.5
-rw-r--r-- | .pylintrc | 39 |
1 files changed, 20 insertions, 19 deletions
@@ -1,8 +1,5 @@ [MASTER] -# Profiled execution. -profile=no - # Add files or directories to the blacklist. They should be base names, not # paths. ignore= @@ -34,7 +31,26 @@ load-plugins= # line-too-long -- figure out a length and stick to it # 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, 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, + super-init-not-called, + no-init, [REPORTS] @@ -58,10 +74,6 @@ reports=no # (RP0004). evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) -# Add a comment according to your evaluation note. This is used by the global -# evaluation report (RP0004). -comment=no - [FORMAT] @@ -106,10 +118,6 @@ ignore-mixin-members=yes # (useful for classes with attributes dynamically set). ignored-classes=SQLObject,twisted.internet.reactor,hashlib,google.appengine.api.memcache -# When zope mode is activated, add a predefined set of Zope acquired attributes -# to generated-members. -zope=no - # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E0201 when accessed. Python regular # expressions are accepted. @@ -118,9 +126,6 @@ generated-members=REQUEST,acl_users,aq_parent,multiprocessing.managers.SyncManag [BASIC] -# Required attributes for module, separated by a comma -required-attributes= - # List of builtins function names that should not be used, separated by a comma bad-functions=map,filter,apply,input @@ -195,10 +200,6 @@ int-import-graph= [CLASSES] -# List of interface methods to ignore, separated by a comma. This is used for -# instance to not check methods defines in Zope's Interface base class. -ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by - # List of method names used to declare (i.e. assign) instance attributes. defining-attr-methods=__init__,__new__,setUp |