Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRender docstrings with double quotes #57
Comments
|
PEP 257 requires double quotes for docstrings. It also requires a blank line after the docstring for classes, but not for functions. |
|
Hey guys! I've read in the |
|
@Rcsm are you using this plugin? if so I'd be happy to review an merge fixes :) |
|
Yep! I've started using prettier very recently and used this plugin for a little python app of mine. Right now I'm looking for an OSS to contribute, and that's why I'd like to solve this issue :) |
|
@Rcsm cool! I use black for formatting python, but could be nice to get prettier python stable anyway |
I've been trying running prettier on the django codebase and I noticed that they use single quotes for almost all the strings and double quotes for the docstrings, which seems to be a common things in python (I haven't seen many single quotes docstrings).