-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
--sort-reexports
does not respect --profile=black
#2280
Comments
I did some digging and it seems that code sorting (
There is no regard for the I believe fixing this would require us to write our own formatting logic, since I would need the input of the developers here, since there are no tests to form a de facto specification, but I believe that code sorting should follow the |
@timothycrosley Hi, sorry for the direct ping, I'm sure you're very busy! Would you have a moment to confirm my suspicions that the I already have a PR open for fixing similar Hope to hear from you, and have a good day |
Problem
Attempting to sort a multiline
__all__
attribute that is longer than the line limit withisort . --sort-reexports --profile=black
wraps the lines in a non-black compatible way:Before
After
Env
PS: Very willing to fix this myself and to PR it if someone can triage this and point me in the right direction.
The text was updated successfully, but these errors were encountered: