Open BigRoy opened 9 years ago
+1 for Google Style
It's supported by Sphinx, I'm using it for Pyblish.
is it me or Google Style is "just" an indented reStructuredText?
is it me or Google Style is "just" an indented reStructuredText?
@ftouvet Haha, kind off I guess. Less dots and symbols here and there. Supposedly more readable within the code.
Anyway, I'll move towards Google style down the line since there doesn't seem to be any current opposition...
I'll be moving forward to Googley style docstrings over time. As I cleanup some code I'll refactor docstrings accordingly.
Currently I'm using a heavily reStructuredText driven docstring style but looking over how it looks in the code I'm thinking about swapping over to the Google Style Docstrings.
Google Style Docstrings
reStructuredText Docstrings
The nice thing of reStructuredText over Google Style is that it's easily supported for autodoc in sphinx. Plus it's supported directly in IDEs like PyCharm while Google Style is not supported in PyCharm.