google / google/yapf

Allow function call parameters to be on different lines

Open
#193 2 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

I couldn't find a style option to allow function call parameters to be on different lines.

For instance:

```
foo(very_long_parameter_1,
very_long_parameter_2,
very_long_parameter_3)
```

Gets changed to:

```
foo(very_long_parameter_1, very_long_parameter_2, very_long_parameter_3)
```

I think this use case is common enough to justify a style option. Thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.