psf/black repo issues and pull requests
FEAT: Add `-> None` to any typed `__init__()` #2913 [NickCrews] T: enhancement R: rejected
Is your feature request related to a problem? Please describe. In pandas-dev/pandas#46279 someone wants to make the...
Finish "magic trailing comma" handling #1288 [ambv] T: bug
#826 introduced the concept of a magic trailing comma: if you, the programmer, explicitly put a trailing comma in a...
Trailing comma in a dict in function call split all parameters #2672 [char101] T: design F: linebreak
Describe the style change When passing dict as a function parameter I often prefer than the dict is split in...
Enable `--experimental-string-processing` to be default #2188 [cooperlees] T: enhancement T: design S: accepted F: strings / docstrings
Lets move CI + then the default of black to use the --experimental-string-processing behavior. Today, if enabled on...
feat(config): Support `--config` in pyproject.toml #2525 [Shivansh-007] C: command line / config
Description You can now specify config key in pyproject.toml which does the same job as the CLI option --config. The...
Line too long: Comments #1713 [anirudnits] T: design F: comments F: linetoolong
Problem Consider the below comment: # this comment is longer than what is specified in line length arguments passed...
When detecting Python versions, `f"{x=}"` should imply 3.8+ #2907 [Zac-HD] T: enhancement S: accepted C: parser C: target version
Describe the bug The = specifier was added to f-strings in Python 3.8, but Black does not yet distinguish it from...
Horizontally align quotes in multi-line f-string breaks #2915 [ajoino] T: design F: strings / docstrings F: linebreak
Describe the style change Align quotation marks for multi-line string breaks (using --preview) if the resulting...
Add improved docstring processing #2885 [TomFryers]
Description One of the things discussed in issue #144 was quote placement. Reading through the discussion, there...
Use parentheses with equality check in walrus/assignment statements #2770 [Shivansh-007]
Closes #449 Checklist - did you ... Add a CHANGELOG entry if necessary? Add / update tests if necessary? Add new...
NickCrews: Thank you!