4 ms·
I think the original Python Google Style guide did use 2 spaces. https://code.google.com/p/soc/wiki/PythonStyleGuide#Indentation https://code.google.com/p/soc/w
by Pirate-of-SV 12y ago
I think the original Python Google Style guide did use 2 spaces.
https://code.google.com/p/soc/wiki/PythonStyleGuide#Indentation 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/style.py#L122 https://github.com/google/yapf/blob/master/yapf/yapflib/styl...
- geoelectric 12y agoThis was submitted not long ago, and that was pointed out there too. https://news.ycombinator.com/item?id=9260786 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.