The first patch add flake8 tests and pylint --py3k to RPM build. The
second patch fixes a couple of flake8 violations that have accumulated
in the past month.
I'm still having a problem with sphinx autodocs. It can't build
documentation for pki.crypto. It looks like autodocs doesn't do relative
imports correctly and picks up pki/nss.py as nss.
SphinxWarning: /home/heimes/redhat/pki/base/common/python/pki.rst:39:
WARNING: autodoc: failed to import module u'pki.crypto'; the following
exception was raised:
Traceback (most recent call last):
File
"/home/heimes/redhat/pki/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py",
line 385, in import_object
__import__(self.modname)
File
"/home/heimes/redhat/pki/.tox/docs/lib/python2.7/site-packages/pki/crypto.py",
line 26, in <module>
import nss.nss as nss
ImportError: No module named nss
Christian