Skip to content
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

Enable Black string normalization #2684

Closed
soininen opened this issue Apr 2, 2024 · 0 comments
Closed

Enable Black string normalization #2684

soininen opened this issue Apr 2, 2024 · 0 comments
Assignees

Comments

@soininen
Copy link
Contributor

soininen commented Apr 2, 2024

We use the Black tool to format our Python code. However, its string normalization feature is currently turned off in all four repositories resulting in inconsistent use of " and '. Enabling the feature would produce slightly prettier code and is easy to do, so why not?

By the way, Black should handle quotes inside strings (e.g. 'In double quotes: "lorem ipsum".') just fine.

@soininen soininen self-assigned this Apr 2, 2024
soininen added a commit to spine-tools/Spine-Database-API that referenced this issue Apr 2, 2024
Just reformatting, no functional changes.

Re spine-tools/Spine-Toolbox#2684
soininen added a commit to spine-tools/spine-engine that referenced this issue Apr 2, 2024
Just reformatting, no functional changes.

Re spine-tools/Spine-Toolbox#2684
soininen added a commit that referenced this issue Apr 2, 2024
Just reformatting, no functional changes.

Re #2684
soininen added a commit to spine-tools/spine-items that referenced this issue Apr 2, 2024
Just reformatting, no functional changes.

Re spine-tools/Spine-Toolbox#2684
@soininen soininen closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant