psf/black repo issues and pull requests
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...
Format hex code in unicode escape sequences in string literals #2916 [Shivansh-007]
Closes #2067 Closes #2828 Checklist - did you ... Add a CHANGELOG entry if necessary? Add / update tests if...
ehiggs: This is a regression somewhere between 19.10b0 and 22.1.0 and affects a lot of users using...
JelleZijlstra: @ehiggs that's the magic trailing comma, which for better or for worse is Black's documented...