Wrap the `in` clause of comprehensions across lines if necessary (#4699)
* CI: Remove now-uneeded workarounds The issues mentioned in the comments have all been fixed Signed-off-by:cobalt <61329810+cobaltt7@users.noreply.github.com> * Fix Click typing issue in run self * oops, run self * i swear this was failing earlier ig it's not that related to this pr anyway * has click updated itself yet on pre-commit.ci * Bump click Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Split the `in` clause of comprehensions onto its own line if necessary Fixes #3498 Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Lint issues Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Move to preview style Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * run self Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Alternative approach Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * oops! Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * run test on preview, not unstable Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * Don't remove parens around ternaries Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/black/linegen.py * Update docs/the_black_code_style/future_style.md --------- Signed-off-by:
cobalt <61329810+cobaltt7@users.noreply.github.com> Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Loading
Please register or sign in to comment