psf/black repo issues and pull requests
Move fuzz.py to scripts/ #3199 [ichard26] C: cleanup skip news
Description Makes more sense in scripts/ anyway. Checklist - did you ... Add a CHANGELOG entry if necessary? ->...
[Python 2 has been deprecated] - Formalise Python support policy #2251 [felix-hilden] help wanted T: documentation C: maintenance S: needs discussion
Status update November 1st, 2021 @ 10:36AM EST by @ichard26 We've deprecated Python 2 support starting with version...
Parenthesize conditional expressions #2278 [JEphron] F: parentheses
Context: #2248
unnecessary parentheses in unpacking aren't removed #3080 [Akuli] T: design F: parentheses S: accepted
Describe the style change Replace (foo) with foo when unpacking, where foo is an expression. Examples in the current...
Black pre-commit and black command line disagree #3073 [justinxzhao] T: bug C: integrations S: needs repro
Version information pre-commit version: 2.19.0 > pre-commit --version pre-commit 2.19.0 pre-commit black version:...
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...
Crash with fmt: off + decorator #2232 [rdemetrescu] T: bug C: invalid code F: fmtoff
Describe the bug I am getting an exception error: cannot format test_black.py: INTERNAL ERROR: Black produced code...
Use PEP 621's [project.requires-python] field to automatically set --target-version #3124 [GamePad64] T: enhancement C: configuration C: target version
PEP 621 provides project.requires-python field in pyproject.toml. I expect, that most of the tools will support this...
Docker images use a user install of Black so don't work when running as another user #2975 [RoryDungan] T: enhancement help wanted C: integrations C: packaging S: accepted
Describe the bug Since bd96139, Docker images use a user install of Black. This means they can't be used when...
makes install available for all users in docker image #3202 [n-borges] C: integrations
Description Changes the default docker image installation to be made in a virtualenv. This way we get to keep the...
Added depreciated warning in filter warning #3198 [shivamdurgbuns] skip news C: maintenance
Signed-off-by: Shivam Durgbuns shivamdurgbuns@gmail.com fixes: #3176 Description Checklist - did you ... Add a...
Remove optional brackets around unpacking #3203 [TomFryers] T: design F: parentheses S: accepted
Remove optional brackets around unpacking Since #2945, Black removes brackets in the following situation: for (x, y)...
Black -C doesn't remove trailing commas in indices #3204 [TomFryers] T: bug F: trailing comma
Describe the bug Trailing commas inside indexing square brackets are not removed when running Black with -C. This...
Remove invalid syntax in test #3205 [TomFryers] skip news C: maintenance
Description uR is not a legal string prefix, so this test breaks (AssertionError: cannot use --safe with this file;...
Run PyPI release workflow weekly on `main` targeting TestPyPI #3206 [ichard26] C: packaging C: maintenance
With the (soon to be) introduction of mypyc into our release pipeline, releasing now means rolling the dice on...
Port & upstream mypyc wheel build workflow #3197 [ichard26] skip news C: maintenance
Description This was the last part of #3017. I say was because I rewrote most of the build setup in an effort to...
Add parens around implicit string concatenations where increases readability #3162 [yilei]
Description This PR resolves #3159. It adds parentheses around implicit string concatenations when it's inside a...
Add improved docstring processing #2885 [TomFryers]
Description One of the things discussed in issue #144 was quote placement. Reading through the discussion, there...
pradyunsg: Honestly, I don't see any good reason to maintain support for a single day beyond EoL. The main...