[Gluster-devel] GlusterFS coding standards
Vijay Bellur
vbellur at redhat.com
Fri May 24 05:22:43 UTC 2013
On 05/24/2013 10:33 AM, Justin Clift wrote:
> Hi all,
>
> We don't yet seem to have a "coding standards" document for the GlusterFS
> code base.
This is what I reckon as the coding standard guide:
https://github.com/gluster/glusterfs/blob/master/doc/legacy/coding-standard.pdf
Should not be in legacy as most current patches do follow rules in the
document.
>
> Anyone object to having one created?
>
> After appropriate discussion and deciding on what to put in it that is.
>
> If that's a decent idea, these are my first random thoughts about it:
>
> + For the Python code base, follow the Python "PEP 8" standard:
>
> http://www.python.org/dev/peps/pep-0008/
>
> It's fairly widespread in the Python community, and many Python tools
> know how to work with it.
I do like the idea of "PEP 8". We do not have any defined standards for
python code and this is something that we can adopt.
-Vijay
More information about the Gluster-devel
mailing list