From 16c66071eaeedf73a47bd78769a69c25c0992049 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:05:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- CHANGES.md | 4 +++- src/black/lines.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 5c4b91e6124..f4bc1f2a91b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,9 @@ ### Stable style -- Treat lines marked with common pragma markers (e.g. `# noqa`) the same as `# type: ignore` -- don't split them, but allow merging (#4039) + +- Treat lines marked with common pragma markers (e.g. `# noqa`) the same as + `# type: ignore` -- don't split them, but allow merging (#4039) ### Preview style diff --git a/src/black/lines.py b/src/black/lines.py index e4f67a3f341..3064d5fee5d 100644 --- a/src/black/lines.py +++ b/src/black/lines.py @@ -28,8 +28,8 @@ is_import, is_multiline_string, is_one_sequence_between, - is_type_comment, is_pragma_comment, + is_type_comment, is_with_or_async_with_stmt, replace_child, syms,