All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
6 d = {'key': 'value', 'key2': 'value2',}
10 call(arg={'explode': 'this',})
16 if a == {"a": 1,"b": 2,"c": 3,"d": 4,"e": 5,"f": 6,"g": 7,"h": 8,}["a"]:
19 def xxxxxxxxxxxxxxxxxxxxxxxxxxxx() -> Set[
20 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
22 json = {"k": {"k2": {"k3": [1,]}}}
26 # The type annotation shouldn't get a trailing comma since that would change its type.
27 # Relevant bug report: https://github.com/psf/black/issues/2381.
28 def some_function_with_a_really_long_name() -> (
29 returning_a_deeply_nested_import_of_a_type_i_suppose
34 def some_method_with_a_really_long_name(very_long_parameter_so_yeah: str, another_long_parameter: int) -> (
35 another_case_of_returning_a_deeply_nested_import_of_a_type_i_suppose_cause_why_not
41 also_super_long_type_annotation_that_may_cause_an_AST_related_crash_in_black(this_shouldn_t_get_a_trailing_comma_too)
46 def func() -> ((also_super_long_type_annotation_that_may_cause_an_AST_related_crash_in_black(
47 this_shouldn_t_get_a_trailing_comma_too
105 def xxxxxxxxxxxxxxxxxxxxxxxxxxxx() -> Set[
106 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
119 # The type annotation shouldn't get a trailing comma since that would change its type.
120 # Relevant bug report: https://github.com/psf/black/issues/2381.
121 def some_function_with_a_really_long_name() -> (
122 returning_a_deeply_nested_import_of_a_type_i_suppose
127 def some_method_with_a_really_long_name(
128 very_long_parameter_so_yeah: str, another_long_parameter: int
130 another_case_of_returning_a_deeply_nested_import_of_a_type_i_suppose_cause_why_not
136 also_super_long_type_annotation_that_may_cause_an_AST_related_crash_in_black(
137 this_shouldn_t_get_a_trailing_comma_too
145 also_super_long_type_annotation_that_may_cause_an_AST_related_crash_in_black(
146 this_shouldn_t_get_a_trailing_comma_too