Closed signorrayan closed 2 years ago
@signorrayan I strongly suggest to keep the preference for single apostrophe strings and add -S
to the black
call. This way the PR is true to its title and is not restyling the whole script :wink:
@sthagen Thanks. do you mean black -S .
instead of black --check .
?
@signorrayan no in addition. The option -S
is the short form of — skip-string-normalization
And does not interfere with other commands/options. In my projects I often use calls like:
black -S -l 120 --target-version py39 --check --diff script_or_module tests
… and do rarely have to change when supporting other peoples‘ projects - maybe the Python target version sometimes needs adjustment of course.
Maybe at this point (conflicts) it is best to revert the changes to the main script, merge the fresh version from @adulau including the fix for #4 and apply again the platform alias patch?
Thanks @signorrayan for the idea and the new GitHub action. It's great. I added it in the repository and updated according to @sthagen feedback. It's nice to see people looking carefully at all the details.