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

Consider handling nested configuration #222

Open
amyreese opened this issue Nov 20, 2022 · 0 comments
Open

Consider handling nested configuration #222

amyreese opened this issue Nov 20, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@amyreese
Copy link
Member

@ofek in #186 uncovered potential confusion in repos with nested pyproject.toml files, where black appears to also look at the parent project's configuration, while µsort only looks at the nearest configuration. We may need to look at how black handles this, and either use black's API for loading the line length, or extending our configuration loading process to continue searching if no [tool.usort] or [tool.black] sections are found.

@amyreese amyreese added the enhancement New feature or request label Nov 20, 2022
@amyreese amyreese self-assigned this Nov 20, 2022
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
None yet
Development

No branches or pull requests

1 participant