yapf icon indicating copy to clipboard operation
yapf copied to clipboard

Option like `SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED` but for `def` parameters

Open alexreg opened this issue 4 years ago • 0 comments

Is there a style option like SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED, except for def parameters? i.e., if I have something like the following, I want it to be left alone by yapf.

def foo(
    a: str,
    b: int,
    c: bool = False,
):

alexreg avatar Nov 03 '21 17:11 alexreg