Skip to content
This repository has been archived by the owner. It is now read-only.

Render docstrings with double quotes #57

Open
patrick91 opened this issue Mar 3, 2018 · 5 comments
Open

Render docstrings with double quotes #57

patrick91 opened this issue Mar 3, 2018 · 5 comments

Comments

@patrick91
Copy link
Member

@patrick91 patrick91 commented Mar 3, 2018

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).

@taion
Copy link
Contributor

@taion taion commented Mar 3, 2018

PEP 257 requires double quotes for docstrings. It also requires a blank line after the docstring for classes, but not for functions.

@rafaelcascalho
Copy link

@rafaelcascalho rafaelcascalho commented Aug 21, 2019

Hey guys! I've read in the README that the plugin is deprecated, so I'd like to know if you're still interested in solving this issue. Case yes, I'd like to claim it 😄

@patrick91
Copy link
Member Author

@patrick91 patrick91 commented Aug 21, 2019

@Rcsm are you using this plugin? if so I'd be happy to review an merge fixes :)

@rafaelcascalho
Copy link

@rafaelcascalho rafaelcascalho commented Aug 21, 2019

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 :)

@patrick91
Copy link
Member Author

@patrick91 patrick91 commented Aug 21, 2019

@Rcsm cool! I use black for formatting python, but could be nice to get prettier python stable anyway

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.