Re: [Pywikipedia-l] pep257 docstring style checker

2014-06-13 Thread Amir Ladsgroup
I will write a script for asap, it'll be fixed by evening Best On Sat, Jun 14, 2014 at 10:24 AM, Bináris wrote: > Is there a way/tool to automatize a part of this work: I mean > > Blank line missing between one-line summary and description > > Expected 1 blank line *before* class docstring, fo

Re: [Pywikipedia-l] pep257 docstring style checker

2014-06-13 Thread Bináris
Is there a way/tool to automatize a part of this work: I mean Blank line missing between one-line summary and description Expected 1 blank line *before* class docstring, found 0 type errors -- this kind may be machine-corrected. Not the missing docstrings, of course. _

[Pywikipedia-l] Pywikibot mailing list page redesigned

2014-06-13 Thread Amir Ladsgroup
Hello, As you may now, the pages of pywikibot mailing lists (*Pywikipedia-l* , *Pywikipedia-bugs* , *Pywikipedia-announce*

Re: [Pywikipedia-l] pep257 docstring style checker

2014-06-13 Thread Amir Ladsgroup
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 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 g

Re: [Pywikipedia-l] (core) Adding code in scripts/i18n to gerritreview

2014-06-13 Thread info
The i18n dict file must be committed first and you have to update submodules before your script works well. For your working copy you may c&p the dict file into the scripts/i18n folder for testing purposes. Greetings xqt - Ursprüngliche Nachricht - Von: Travis Briggs Gesendet: 12.06.201

Re: [Pywikipedia-l] pep257 docstring style checker

2014-06-13 Thread Antoine Musso
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/py

[Pywikipedia-l] pep257 docstring style checker

2014-06-13 Thread Ricordisamoa
You must see this! https://github.com/GreenSteam/pep257 Just run it on our codebase, it gives thousands of errors... ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] querying only some properties for WikibasePage

2014-06-13 Thread Jeroen De Dauw
Hey, Are the claims a large part of the network traffic for items you are > processing? Some client time might be saved by lazy loading the claim > objects from _content. The claims data is even smaller when using raw > revisions instead of the API JSON. > Is the size of the serialization somet