X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a4c11a75e12300abfbe4c36854e450d42bdd1ee7..92c611cfdf1124d0d2830ba9a503a7e7a57d2dee:/black.py diff --git a/black.py b/black.py index 7b905ee..087683a 100644 --- a/black.py +++ b/black.py @@ -2544,6 +2544,7 @@ def transform_line( is_line_short_enough(line, line_length=line_length, line_str=line_str) or line.contains_unsplittable_type_ignore() ) + and not (line.contains_standalone_comments() and line.inside_brackets) ): # Only apply basic string preprocessing, since lines shouldn't be split here. transformers = [string_merge, string_paren_strip]