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

tidy-imports --black with custom line length (PyInf#11045) #264

Closed
sac111gp opened this issue Sep 14, 2023 · 0 comments · Fixed by #266
Closed

tidy-imports --black with custom line length (PyInf#11045) #264

sac111gp opened this issue Sep 14, 2023 · 0 comments · Fixed by #266
Assignees

Comments

@sac111gp
Copy link
Collaborator

This is a request for below 2 items:

Bug fix:

  1. Make tidy-imports --black respect black's configured line length (e.g., via pyproject.toml)

Enhancement:

  1. Make tidy-imports --black --width respect line length. Currently, it is a known and documented behavior in --help of --black option:
    --black             Use black to format imports. If this option is used,
                        all other formatting options are ignored.

We'd like to allow configuring line length via --width as well when used with black.

@aktech aktech self-assigned this Sep 25, 2023
@Carreau Carreau self-assigned this Nov 21, 2023
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 a pull request may close this issue.

3 participants