Tweak pylint settings and fix launcher script.

looper
Ben Niemann 7 years ago
parent 7aeeffd4c8
commit 9e0d618d51
  1. 18
      bin/pylintrc
  2. 2
      bin/runpylint

@ -8,9 +8,6 @@
#init-hook='import pyximport; pyximport.install()'
# Profiled execution.
profile=no
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS
@ -57,10 +54,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
# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
#msg-template=
@ -198,10 +191,6 @@ ignored-modules=
# (useful for classes with attributes dynamically set).
ignored-classes=SQLObject
# 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.
@ -210,9 +199,6 @@ generated-members=REQUEST,acl_users,aq_parent
[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
@ -352,10 +338,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

@ -2,5 +2,5 @@
BASEDIR=$(readlink -f "$(dirname "$0")/..")
python setup.py build
cd $BASEDIR/build/lib.linux-x86_64-3.4/
cd $BASEDIR/build/lib.linux-x86_64-3.5/
exec pylint --rcfile=$BASEDIR/bin/pylintrc "$@"

Loading…
Cancel
Save