Oh boy. This is a lot. we really need to work on that, we can split up the work and start.
Best
On Fri, Jun 13, 2014 at 9:11 PM, Antoine Musso hashar+wmf@free.fr wrote:
Le 13/06/2014 12:47, Ricordisamoa a écrit :
You must see this! https://github.com/GreenSteam/pep257 Just run it on our codebase, it gives thousands of errors...
Hello,
multichill on IRC pointed me to your mail. Turns out there is a flake8 extension around pep257:
https://pypi.python.org/pypi/flake8-docstrings/
So I am proposing to add a new tox env 'flake8-docstrings' that runs the pep257 utility and only select errors starting with 'D' (thus ignoring pep8/pyflakes errors).
The pywikibot/core change is:
https://gerrit.wikimedia.org/r/#/c/139412/
The first run is:
https://integration.wikimedia.org/ci/job/pywikibot-core-tox-flake8-docstring...
We can pick a different name :)
The Jenkins and Zuul configurations are straight forward:
https://gerrit.wikimedia.org/r/139417 https://gerrit.wikimedia.org/r/139418
Have a good weekend!
-- Antoine "hashar" Musso
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l