--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
…but in general, by hand, following the google python style guide. (Except in blink code, which uses regular pep 8).
--On Thu, Feb 12, 2015 at 5:47 PM, Dirk Pranke <dpr...@chromium.org> wrote:There is third_party/WebKit/Tools/Scripts/format-webkitpy, which uses the Blink coding standard by default, but supports a '--chromium' flag as well.-- Dirk--On Thu, Feb 12, 2015 at 5:46 PM, Thiago Farina <tfa...@chromium.org> wrote:How do we format Python code? Is there a clang-format equivalent?----Thiago Farina
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
On Fri, Feb 13, 2015 at 4:01 AM, Nico Weber <tha...@chromium.org> wrote:…but in general, by hand, following the google python style guide. (Except in blink code, which uses regular pep 8).And (of course) we deviated from the google style:It is CamelCase methods and 2-space indentation essentially :)
On Fri, Feb 13, 2015 at 10:34 AM, Egor Pasko <pa...@chromium.org> wrote:On Fri, Feb 13, 2015 at 4:01 AM, Nico Weber <tha...@chromium.org> wrote:…but in general, by hand, following the google python style guide. (Except in blink code, which uses regular pep 8).And (of course) we deviated from the google style:It is CamelCase methods and 2-space indentation essentially :)That page needs updating. The Google naming convention (linked from that page) has recommended lower_with_under() function/method names for quite a while now.
On Fri, Feb 13, 2015 at 10:42 AM, Michael Moss <mm...@chromium.org> wrote:On Fri, Feb 13, 2015 at 10:34 AM, Egor Pasko <pa...@chromium.org> wrote:On Fri, Feb 13, 2015 at 4:01 AM, Nico Weber <tha...@chromium.org> wrote:…but in general, by hand, following the google python style guide. (Except in blink code, which uses regular pep 8).And (of course) we deviated from the google style:It is CamelCase methods and 2-space indentation essentially :)That page needs updating. The Google naming convention (linked from that page) has recommended lower_with_under() function/method names for quite a while now.Errr, that is to say, the internal style guide allows both CamelCase and lower_with_under, though I think CamelCase is meant mostly for consistency with legacy code.