[metrics-team] Python coding style - wiki links

iwakeh iwakeh at torproject.org
Sat Jul 2 09:54:21 UTC 2016


here is the documentation page link I referred to in the earlier posting:
https://trac.torproject.org/projects/tor/wiki/org/teams/MetricsTeam/Documentation

and the python-guide-to-be-created page:
https://trac.torproject.org/projects/tor/wiki/org/teams/MetricsTeam/MetricsPythonStyleGuide 

which is currently a placeholder for future reference.

On 07/02/2016 11:30 AM, iwakeh wrote:
> Hi Anathema,
> 
> On 07/01/2016 07:47 PM, Anathema wrote:
>> Hello,
>> in the last meeting we talked about coding style. I know that mostly of
>> the code is done in java (as far as I can see), but I was wondering if
>> it may be useful to add also a Python coding style guide.
> 
> I didn't attend the meeting, but skimmed through the notes.
> 
>> During the meeting someone pointed out to the Google Python Style Guide
>> (https://google.github.io/styleguide/pyguide.html) but I was not able to
>> verify how it differs from the most accepted and widely adopted PEP8
>> style (https://www.python.org/dev/peps/pep-0008/).
> 
>> So I was wondering if it could be useful to add a Python coding style
>> guide to our wiki and which style choose.
> 
>> What do you think?
> 
> Thanks for this question!
> Yes, that should be done for sure, I already set the placeholder on 
> the documentation page for that.  I didn't want to impose any style guide
> for a language I do not use as often.
> 
> The python style should have major input from python devs here in the team, I think.
> So some questions for python people:
> 
> Which of the two mentioned guides above would you prefer as a base?
> Which is more practical and up-to-date?
> 
> It would be most practical to just choose one and add a little here
> and there, if necessary (as we did with java).
> 
> Kind regards,
> iwakeh
> _______________________________________________
> metrics-team mailing list
> metrics-team at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/metrics-team
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/metrics-team/attachments/20160702/b460aaec/attachment.sig>


More information about the metrics-team mailing list