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

Test future with black --preview #457

Open
akaihola opened this issue Jan 13, 2023 · 0 comments
Open

Test future with black --preview #457

akaihola opened this issue Jan 13, 2023 · 0 comments
Assignees
Labels
question Further information is requested
Milestone

Comments

@akaihola
Copy link
Owner

akaihola commented Jan 13, 2023

Black has this option:

  --preview                       Enable potentially disruptive style changes
                                  that may be added to Black's main
                                  functionality in the next major release.

We currently future-proof by running Black from its main branch in CI. This will reveal style changes once those changes to the Black major release appear in main. See:

Might we get an even earlier warning if we add --preview?

On the other hand, do we care? How Black reformats Python code shouldn't affect whether Darker works or not, just the output the user is going to see. There's most probably nothing to fix in Darker when Black's style changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Development

No branches or pull requests

1 participant