As jenkins will no longer automatically run rules in tox.ini, we needIn January 2015, jenkins stopped automatically running rules in tox.ini for non-whitelisted users. See https://lists.wikimedia.org/pipermail/pywikibot/2015-January/009192.html
A proposed workaround was to hardwire pep8 and pep257 into jenkins, like the mediawiki lint tests. That is not the direction that the CI team wish to go.
Details regarding the hardwiring approach:
pep8 runs without arguments, using the config in tox.ini for the exclude and ignore list.
pep257 doesn't have an exclude parameter (yet), but looks like they are interested in that feature:
While waiting for feedback on adding exclude to pep257, it would be nice if we didnt need an exclude list .. ;-)
date.py is being ignored by flake8, but is processed by pep257, so I've tackled that.
pep257 is validating ez_setup.py , which I've tried to fix at the source of the problem:
pep257 doesnt ignore items with '# noqa' , so it is emitting errors for interwiki.py (easy) and pywikibot/exceptions.py (messy).
Also if the job is hardwired into jenkins, and we can only maintain one match list in tox.ini , we cant reimplement the 'mandatory docstring' list without some serious cleanup first.