psf/black repo issues and pull requests
Add script to ease migration to black #3038 [hbrunn]
Description I was looking for a script to update existing feature branches automatically when introducing black in...
Docs: clarify fmt:on/off requirements #3048 [felix-hilden] skip news
Description A small clarification about our requirements for # fmt: on/off, prompted by #2985 (does not...
Docstrings reformatted to be too long #1632 [mlissner] T: bug F: strings / docstrings
Describe the bug When there's a docstring that's near the max line length with the """ on the next line, the new...
Fail gracefully when unaligned or missing 'fmt: off/on' found #2985 [mvaled] T: bug F: fmtoff
The following snippet makes black fail with "Black produced code that is not equivalent to the source.". import...
Docstring too long (issue #1632 fix) #3044 [idorrington92]
Description Fixing this issue #1632 where some docstrings were reformatted to be too long Checklist - did you...
Read simple data cases automatically #3034 [saroad2] skip news
Description When testing black formatting, the simple use cases where defined hard-coded in a list named...
Literal string not formatted correctly #3060 [thedemons] T: bug
For some reason, the shorter line is formatted but the longer one isn't To Reproduce These lines of...
Remove newline after `def` statement #3035 [saroad2]
Description Fixes #902 Newlines are great. They help us organize our code and leave room for the coders and...
fmt: skip removes a comment-only line before it #2339 [felix-hilden] T: bug C: invalid code F: comments F: fmtskip
Describe the bug Comments behave oddly before # fmt: skip lines. To Reproduce 1 # fmt: skip This works as expected:...
fmt: on and other comments before fmt: skip removed #3061 [felix-hilden] T: bug R: duplicate C: invalid code F: fmtskip
Describe the bug # fmt: on and other comment-only lines are removed before a line with # fmt: skip. To Reproduce #...
Document new Microsoft Black Formatter extension for VSCode #3063 [laundmo] T: documentation C: integrations skip news
Description VSCode announced a new extension for Black in their update notes for version 1.67.0, this PR adds a...
Black module coredumps numerous times when PyCharm updates its indices #3064 [ajgringo619] T: bug
Describe the bug Whenever PyCharm CE decides to download/update its indices, I get 10+ coredump messages in the...
Remove hard coded test cases #3062 [saroad2] C: cleanup skip news C: maintenance
Description This PR is a continuation of #3034. The end goal of thus PR is to move all cases in the tests/data...
Line too long: Dictionary key-value pair #413 [ghost] T: bug F: parentheses F: linetoolong F: linebreak
Hey, with black, version 18.6b4 I am getting two lines within dict merged resulting in line exceeding provided...
Ugly string concat #3066 [blankRiot96] T: design F: strings / docstrings
Describe the style change Black made this unusual ugly change to my code after I made the string longer. Examples in...
hbrunn: thanks for the reviews, now correctly formatted, using logging and with a changelog entry