Yilei
Yilei
One improvement to the handling of those special cased pragma comments I can see is, when the comment is after a closing paren and when it reformats the statement to...
Hi maintainers 👋🏼 What's your current opinion on the implicit-str-concat issue raised by @tsx earlier in [this comment](https://github.com/psf/black/issues/2188#issuecomment-1009041704)? I agree with @tsx's proposal and reasoning. Implicit string concatenations are common...
@reagle this is the current expected behavior. there is some limited handling of docstrings (see https://github.com/psf/black/issues/144 and referenced issues), but it won't split. for other non-docstring multi-line strings, it won't...
I scanned through the diff-shades results, they all look expected to this PR's change.
@jack1142 The changed code is already behind the `--preview` flag (`if Preview.string_processing in mode:`), the [diff from `assert-no-changes`](https://github.com/psf/black/runs/7312264292?check_suite_focus=true#step:10:1) is from https://github.com/ichard26/blackbench, which [enables it](https://github.com/ichard26/blackbench/blob/1e4e36b8de4ba351a95f4948866620bada64cf53/pyproject.toml#L38) via the (deprecated) `--experimental-string-processing` flag. I...
Thank you @ichard26! Adding the new `--preview` diff report link for convenience: https://github.com/psf/black/runs/7313506857?check_suite_focus=true#step:10:1
I _think_ this can benefit a similar fix as https://github.com/psf/black/pull/3148 (for `# fmt: skip`) I can take a look at this issue too, but I'll wait for that PR to...
Curious, what is the status on the "reformatting of given line range(s)" support in *Black*? I've also read https://github.com/microsoft/vscode-black-formatter/issues/176 and https://github.com/psf/black/issues/2883, and there is now a `vscode-black-formatter` extension, but it...
Calling performSelector for a @objc_method created by rubicon from Objective C crashes in Python 3.9
Thanks. I need to use the protocol approach (otherwise it fails to compile, probably there is a flag to turn it to warning/error?), but calling `[Interop.sharedRunner execScript]` crashes in the...
This appears to be a dup of https://github.com/PyCQA/pylint/issues/1472