Shantanu

Results 430 comments of Shantanu

Thanks for the issue! It looks like this is already fixed in preview style, by https://github.com/psf/black/pull/4214

Hm actually no that's not quite right, https://github.com/psf/black/pull/4214 just reduces the line length at which this crashes. Black wants to do something like: ``` match test: case case ( if...

In case it's useful, it appears Black uses this logic https://peps.python.org/pep-0257/#handling-docstring-indentation when handling docstring whitespace. This means that if you have some other text in your docstring that's at the...

Could you clarify what exactly is a symbolic link to what?

Hm, I can't reproduce. Is it possible your VSCode is using a version of Black older than 24.2? Aka what is `/home/xyz/.local/python/bin/python -m black --version` Maybe you could provide an...

Thanks for the issue! This was intentional. Our goal with `--enable-unstable-feature` was not to let users pick and choose parts of Black's future style (Black will simply never be configurable...

Thanks for the issue! I think the use case is outside of normal operating conditions, but it's nice for things to work. If you provide a script that makes a...

Thanks for the feedback — and generally for all your engagement! Note we're still in the process of changing the logic here, although I suspect you might like it even...

Note for anyone currently broken by this, you can try using [psf/black-pre-commit-mirror](https://github.com/psf/black-pre-commit-mirror) instead. This never received the change in https://github.com/psf/black/pull/3940, so should still work with older versions of pre-commit. It'll...

My vibes: - I feel very comfortable with shipping `dummy_implementations` and lower - I think `parenthesize_conditional_expressions` / `wrap_long_dict_values_in_parens` / `multiline_string_handling` are also all good, but I want to look over...