google / google/yapf

Please allow standardization of string literals

Open
#290 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

On the subject of `""` vs `''`, both the Google and Python style guides say simply "choose one and be consistent". It would be awesome if YAPF had an option to enforce use of either `"` or `'`, with the default of neither value provided being no string rewriting occurs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.