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

Allow hyphens for option keys in pyproject.toml #23

Merged
merged 6 commits into from
Mar 2, 2024
Merged

Conversation

akaihola
Copy link
Owner

@akaihola akaihola commented Mar 2, 2024

Fixes akaihola/darker#502. Ported from akaihola/darker#503.

Also normalizes the pyproject.toml dump seen in debug log level to always use hyphens instead of underscores in option keys.

@akaihola akaihola added the bug Something isn't working label Mar 2, 2024
@akaihola akaihola added this to the 0.0.2 milestone Mar 2, 2024
@akaihola akaihola self-assigned this Mar 2, 2024
@akaihola akaihola force-pushed the pyproject-hyphens branch from 6792a84 to e3f7b91 Compare March 2, 2024 17:28
@akaihola akaihola force-pushed the pyproject-hyphens branch from e3f7b91 to d415aef Compare March 2, 2024 17:40
@akaihola akaihola merged commit ca76c80 into main Mar 2, 2024
31 of 34 checks passed
@akaihola akaihola deleted the pyproject-hyphens branch March 2, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging this pull request may close these issues.

pyproject.toml options with hyphens are ignored
1 participant