Open
Conversation
Complies with PEP 8 and 257, fixes indentation to 4 spaces. See also: https://black.readthedocs.io/en/stable/the_black_code_style.html
This can be turned off if its okay for black to turn single quotes to double quotes. To make the changes more minimal, skip for now.
1fab9a3 to
dec4f29
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complies with PEP 8 and 257, fixes indentation to 4 spaces.
See also: https://black.readthedocs.io/en/stable/the_black_code_style.html, Qencode-Corp/qencode-api-python-client#1
(assuming formatting the codebase with black is okay)
To recreate if you'd like to try your own PR to format and merge that
String normalization
Black will change single quotes to double quotes by default.
I turned it off to just keep the changes to structural formatting in this PR, I'm happy to revise the PR if it's preferred to have strings formatted as well
Remove
skip-string-normalizationfrompyproject.tomland the above example command and rerun the formatter. All strings will now be consistently using double quotes.