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

Black: replace --experimental-string-processing with --preview #245

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

jpy-git
Copy link
Contributor

@jpy-git jpy-git commented Mar 26, 2022

As part of #239 we updated black version. In the new black version the --experimental-string-processing flag has been moved into the --preview flag

Deprecated: `experimental string processing` has been included in `preview` and deprecated. Use `preview` instead.

We can either use the --preview flag (has a couple extra new features as well) or just not use any flags. I'd prefer to use the --preview flag as we can help improve the newer black features, but easy either way 😄

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet - Many thanks. We should always do what black says. Black knows all.

@cooperlees cooperlees merged commit e24eb10 into PyCQA:main Mar 26, 2022
@jpy-git jpy-git deleted the black_preview branch March 26, 2022 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants