YAPF – A formatter for Python files
github.com
github.com
AutoPEP8 will generally intelligently pick between a standard hanging indent, a deep hanging indent, and an aligned indent. Does this not do so?
Edit: oh, I see. The author's code uses two spaces. Heh.
No option to change the line endings though, and it changes them all to Windows style.
It's under Python Style Rules | Indentation.
It does support the PEP8 style out of the box, however.
https://www.chromium.org/chromium-os/python-style-guidelines
...is 2 spaces.
http://google-styleguide.googlecode.com/svn/trunk/pyguide.ht...
...is 4 spaces.
The other difference is naming style. Chromium uses CapWords instead of snake_case.
Edit:
https://news.ycombinator.com/item?id=1311799
^ that notes that you're referring to an internal style guide. Their external guide (which is the one I'd think I'd be following) is more PEP8-y.
You might consider renaming your "google" to "google-internal." But since Chromium appears to be the remaining big external-facing project using the old internal style, I'd suggest chromium vs. google vs. pep8. That would make more sense to the wider audience.