X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/024c9cab55da7bd3236fd88759c9735d6149b464..c9689b80fbb108316b0330fc1ed444ccab419b02:/tests/data/comments6.py diff --git a/tests/data/comments6.py b/tests/data/comments6.py index 770e3cc..a2cd018 100644 --- a/tests/data/comments6.py +++ b/tests/data/comments6.py @@ -52,10 +52,11 @@ def f( another_really_really_long_element_with_a_unnecessarily_long_name_to_describe_what_it_does_enterprise_style = ( 3 ) # type: int + an_element_with_a_long_value = calls() or more_calls() and more() # type: bool tup = ( - another_element, # type: int - another_really_really_long_element_with_a_unnecessarily_long_name_to_describe_what_it_does_enterprise_style, # type: int + another_element, + another_really_really_long_element_with_a_unnecessarily_long_name_to_describe_what_it_does_enterprise_style, ) # type: Tuple[int, int] a = ( @@ -66,3 +67,23 @@ def f( + another_element + another_element_with_long_name ) # type: int + + +def func( + a=some_list[0], # type: int +): # type: () -> int + c = call( + 0.0123, + 0.0456, + 0.0789, + 0.0123, + 0.0456, + 0.0789, + 0.0123, + 0.0456, + 0.0789, + a[-1], # type: ignore + ) + + +result = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # aaa