Skip to content

Commit dfd5408

Browse files
committed
Merge branch 'main' of https://github.com/psf/black into black26
Signed-off-by: cobalt <[email protected]>
2 parents e8e64f1 + f0f4094 commit dfd5408

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ style.
5757
magic trailing commas and intentional multiline formatting (#4865)
5858
- Fix `fix_fmt_skip_in_one_liners` crashing on `with` statements (#4853)
5959
- Fix `fix_fmt_skip_in_one_liners` crashing on annotated parameters (#4854)
60+
- Fix new lines being added after imports with `# fmt: skip` on them (#4894)
6061

6162
### Packaging
6263

tests/data/cases/composition_no_trailing_comma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def tricky_asserts(self) -> None:
181181
)
182182

183183

184-
# output
185184

185+
# output
186186

187187
class C:
188188
def test(self) -> None:

tests/data/cases/preview_long_strings__east_asian_width.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
"km",
5555
), # Khmer
5656
],
57-
]
57+
]

0 commit comments

Comments
 (0)