psf/black repo issues and pull requests
Black --preview mode produces invalid code in the first pass, causing second pass to fail #3117 [yilei] T: bug
Describe the bug Black's --preview mode produces invalid code in the first pass, causing second pass to fail. To...
Black doesn't wrap functions with parameter comments #3113 [liam-mipac] T: bug F: comments F: linebreak
Describe the bug If a line that exceeds the character limit has parameter comments, the function won't be moved to a...
Line break before operator added only with `--experimental-string-processing` #2491 [Zac-HD] T: bug F: strings / docstrings F: linebreak
Running Black on the following code makes no changes: ( "whatever" == "a very long string broken across two...
Black should enforce zero empty leading lines in function body #902 [rogalski] T: design F: empty lines S: accepted
Operating system: playground Python version: playground Black version: master Consider following code snippet: class...
Remove newline after code block open #3035 [saroad2]
Description Fixes #902 Newlines are great. They help us organize our code and leave room for the coders and...
Add improved docstring processing #2885 [TomFryers]
Description One of the things discussed in issue #144 was quote placement. Reading through the discussion, there...
Update documentation dependencies #3118 [ichard26] T: documentation C: dependencies skip news C: maintenance
Description It's easier to update all of them at once. Checklist - did you ... Add a CHANGELOG entry if...
use is_number_token insteaed of assertion #3069 [MarcoGorelli] skip news
Description Checklist - did you ... Add a CHANGELOG entry if necessary? Add / update tests if necessary? Add...
Remove trailing spaces in f-string expressions #3119 [saroad2]
Description Added a new feature in preview mode: Black now knows how to trim trailing whitespaces inside...
Test run black on self #3114 [saroad2] skip news
Description Removed the hard coded SOURCE list from test_format.py. Now, black is run as part of the Lint CI and...
[Feature Request] Optimize imports #333 [devxpy] T: enhancement help wanted
Can we please have a feature, similar to PyCharm's "optimize imports" feature, which basically sorts and removes...
ichard26: I still haven't looked into the test infrastructure improvements, but everything else looks...
ichard26: This AUTHORS list is so out of date, gosh. Good for you adding yourself!
ichard26: Haha, I like it!
ichard26: Oh lovely, I've been worried lately our style documentation is out of date with the current...
felix-hilden: With three approvals, I think it's high time we get this in! Thanks for the contribution,...