-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev/tooling] Enforce single quote strings #884
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Pretty sure it'll hurt me as I'm used to "
but if you want to have consistency, I'm fine with it.
@Kyle-Verhoog you are my hero! @jd yeah, I've been trying to keep consistent on |
Finally this PR adds a
flake8
plugin (https://github.com/zheller/flake8-quotes) to enforce single quote usage.This removes the dependency we had on the
brettlinter
😄.This PR also replaces double quote strings with the corresponding single quote string. Strings containing single quotes remained untouched (which is permitted in the plugin https://github.com/zheller/flake8-quotes#caveats). We may want to figure out our convention for these cases.
Note: update branch to
master
once #881 has been merged.