You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is the --preserve-quotes option, which leads to not touching quotes at all. I actually like when this tool makes changes like this, so I want to keep --preserve-quote on:
- cache: "pip"
+ cache: pip
My request is to add a new option resembling black's --skip-string-normalization that will just not convert double quotes to single quotes.
The text was updated successfully, but these errors were encountered:
Yeah @aeisenbarth, thanks for the follow up question. I agree in hindsight my OP was a little vague. I am interested in the ability to format with double quotes as opposed to single quotes. I think your proposed options --double-quotes or --quotes=double look great
Python
black
prefers double quotes: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#stringsSince I use Python, I like my YAML to use double quotes too. Running this tool on my repo moves it to use single quotes:
There is the
--preserve-quote
s option, which leads to not touching quotes at all. I actually like when this tool makes changes like this, so I want to keep--preserve-quote
on:My request is to add a new option resembling
black
's--skip-string-normalization
that will just not convert double quotes to single quotes.The text was updated successfully, but these errors were encountered: