diff options
author | Christian Heimes <cheimes@redhat.com> | 2016-02-29 09:19:18 +0100 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2016-02-29 16:11:08 +0100 |
commit | 6c82500627b5c2e0602312faefba97fbe15044b9 (patch) | |
tree | 6304ee9a873eb3e04d51b47ea406d1c4c5e63b91 /scripts | |
parent | bcd8373696d6a1262234dd4d17874ac56107b381 (diff) | |
download | pki-6c82500627b5c2e0602312faefba97fbe15044b9.tar.gz pki-6c82500627b5c2e0602312faefba97fbe15044b9.tar.xz pki-6c82500627b5c2e0602312faefba97fbe15044b9.zip |
Fedora 24 fixes for Python 3.5 and pylint 1.5
Fedora 24 has Python 3.5 instead of Python 3.4. tox.ini now uses python3
to use any Python 3 interpreter.
Python 3.5 has unittest.mock in the stdlib. Tests must attempt to import
mock from unittest first.
Pylint 1.5 has deprecated a couple of old options. Dogtag doesn't use
the options anyway. I just removed them from dogtag.pylintrc.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dogtag.pylintrc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/dogtag.pylintrc b/scripts/dogtag.pylintrc index 061bba8ce..98b8a2d69 100644 --- a/scripts/dogtag.pylintrc +++ b/scripts/dogtag.pylintrc @@ -7,9 +7,6 @@ # pygtk.require(). #init-hook= -# Profiled execution. -profile=no - # Add files or directories to the blacklist. They should be base names, not # paths. ignore=CVS @@ -70,10 +67,6 @@ reports=yes # (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] @@ -138,10 +131,6 @@ ignored-modules=ldap # (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. @@ -150,9 +139,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,apply,input @@ -231,10 +217,6 @@ max-public-methods=20 [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 |