[Gluster-infra] [Bug 1564149] Agree upon a coding standard, and automate check for this in smoke

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 5 15:49:04 UTC 2018


Xavi Hernandez <jahernan at redhat.com> changed:

           What    |Removed                     |Added
                 CC|                            |jahernan at redhat.com

--- Comment #3 from Xavi Hernandez <jahernan at redhat.com> ---
I think it's ok to use 4 spaces for indentation. It helps prevent ugly wraps on
some function calls with long names and/or arguments when they are indented.

Regarding the use of tabs, I would prefer to still use spaces instead of tabs.
The traditional tab size is 8 spaces and this is used in (almost ?) all
editors, so to prevent the code from being unreadable if someone uses an
unconfigured editor, we should still use spaces, specially if we change to a 4
spaces indentation.

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=zuf3rRa054&a=cc_unsubscribe

More information about the Gluster-infra mailing list