X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8b340e210271a8108995fd479c55dbc0a34466bd..b0f3798aab36ff4ee20ae68b1b4cd73acd5fc54c:/tests/data/cantfit.py?ds=sidebyside diff --git a/tests/data/cantfit.py b/tests/data/cantfit.py index 2a7cde3..ef9b78e 100644 --- a/tests/data/cantfit.py +++ b/tests/data/cantfit.py @@ -35,7 +35,8 @@ for key in """ """.split(): if key in self.connect_kwargs: raise ValueError(err.format(key)) -concatenated_strings = "some strings that are" "concatenated implicitly, so if you put them on separate" "lines it will fit" +concatenated_strings = "some strings that are " "concatenated implicitly, so if you put them on separate " "lines it will fit" +del concatenated_strings, string_variable_name, normal_function_name, normal_name, need_more_to_make_the_line_long_enough # output @@ -46,8 +47,8 @@ this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_li 0 ) this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = ( - 1 -) # with a comment + 1 # with a comment +) this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it = [ 1, 2, @@ -74,8 +75,10 @@ normal_name = but_the_function_name_is_now_ridiculously_long_and_it_is_still_sup ) # long arguments normal_name = normal_function_name( - "but with super long string arguments that on their own exceed the line limit so there's no way it can ever fit", - "eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs", + "but with super long string arguments that on their own exceed the line limit so" + " there's no way it can ever fit", + "eggs with spam and eggs and spam with eggs with spam and eggs and spam with eggs" + " with spam and eggs and spam with eggs", this_is_a_ridiculously_long_name_and_nobody_in_their_right_mind_would_use_one_like_it=0, ) string_variable_name = "a string that is waaaaaaaayyyyyyyy too long, even in parens, there's nothing you can do" # noqa @@ -87,7 +90,14 @@ for key in """ if key in self.connect_kwargs: raise ValueError(err.format(key)) concatenated_strings = ( - "some strings that are" - "concatenated implicitly, so if you put them on separate" + "some strings that are " + "concatenated implicitly, so if you put them on separate " "lines it will fit" ) +del ( + concatenated_strings, + string_variable_name, + normal_function_name, + normal_name, + need_more_to_make_the_line_long_enough, +)