Open MichaReiser opened 1 month ago
Black automatically splits long stringified type annotations:
def test() -> "aaaaaaaaaaaaaaaaaaaa | Bbbbbbbbbbbbbbbbbbbbbbbbbbbbb | cccccccccccccccccccccccc | ddddddddddddddddddddddd": pass
Output
def test() -> ( "aaaaaaaaaaaaaaaaaaaa | Bbbbbbbbbbbbbbbbbbbbbbbbbbbbb | cccccccccccccccccccccccc" | "ddddddddddddddddddddddd" ): pass
Note, this is an unstable preview style
Black automatically splits long stringified type annotations:
Output