Style Guides for Python
Newest 'google-style-guide' Questions - Stack Overflow
Google Python Style Guide
Which docstring style works best with VS Code?
So Im super interested to see what people say, I would love some other opinions than my own.
I use the autodocstring extension for vscode set to autosetup the docstring template when pressing enter after typing """. Google styling. Gives a template that you can tab through, and can try to guess the types youre using. Its done me pretty well as long as you write the function/the inputs and returns before the docstring setup
Using pylint to scan code for missing docstrings and black/yapf to autoformat the lines that are too long.
More on reddit.comAfter some other people pointed out on my previous post that I was lacking a style guide for my code, I wanted to look into making my code more user friendly. I tried following along with the PEP 8 style guide on the python website, but I don’t feel like I am retaining any of the info. Would you be able to help me figure out ways to improve the style and redundancy of my code. Thank you