-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: Don't remove parenthesis around long dictionary values #4377
base: main
Are you sure you want to change the base?
Conversation
loop.run_in_executor( | ||
xx_xxxxxxxxxxxxxxxxx_xxxxx_xxxxxxx_xxxxxxxxxxxxxx_xxxxx_xxxxx | ||
): src, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is currently failing due to #1657, will try to fix that in a separate PR before this one is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also why format_self fails:
black/src/black/concurrency.py
Lines 154 to 158 in b677a64
asyncio.ensure_future( | |
loop.run_in_executor( | |
executor, format_file_in_place, src, fast, mode, write_back, lock | |
) | |
): src |
Signed-off-by: cobalt <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: cobalt <[email protected]>
Description
Resolves #4158 (
string_processing
andwrap_long_dict_values_in_parens
)Resolves #3452 (
wrap_long_dict_values_in_parens
)Still need to move to the preview style & add changelog entry
Checklist - did you ...
CHANGES.md
if necessary?