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

Provide compatibility with Black 24.2 #550

Merged
merged 9 commits into from
Mar 9, 2024
Merged

Provide compatibility with Black 24.2 #550

merged 9 commits into from
Mar 9, 2024

Conversation

akaihola
Copy link
Owner

@akaihola akaihola commented Mar 8, 2024

Fixes #535.

This ensures we use `find_project_root()` from Darkgraylib, avoiding
incompatibilities with different Black versions.
- needs hashable input sequence of paths
- doesn't return method of finding the root
@akaihola akaihola added the enhancement New feature or request label Mar 8, 2024
@akaihola akaihola added this to the Darker 2.0.0 - Drop py37 milestone Mar 8, 2024
@akaihola akaihola self-assigned this Mar 8, 2024
This simplifies our local implementation of `find_pyproject_toml()`.
@akaihola akaihola merged commit 1a0619c into master Mar 9, 2024
34 of 36 checks passed
@akaihola akaihola deleted the black-24.2-compat branch March 9, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

Test failures with Black >=24.2
1 participant