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,