Hacker News new | ask | show | jobs
by mas1n 4091 days ago
Interesting to see the formatter is written using 2 space indentation when both pep8 and google's style guides say 4.
1 comments

I think the original Python Google Style guide did use 2 spaces. https://code.google.com/p/soc/wiki/PythonStyleGuide#Indentat...

And it seems like that's used in YAPF as well: https://github.com/google/yapf/blob/master/yapf/yapflib/styl...

This was submitted not long ago, and that was pointed out there too.

https://news.ycombinator.com/item?id=9260786

I suggested to the author that they restore "google" style to the public one and rename the existing one to "chromium" style, since that's the most prominent public project still on Google's internal style.