Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line split of function calls. #19

Open
GunnarFarneback opened this issue May 29, 2022 · 1 comment
Open

Line split of function calls. #19

GunnarFarneback opened this issue May 29, 2022 · 1 comment

Comments

@GunnarFarneback
Copy link

Function calls which cannot fit on a single line within the line limit should be broken up such that the lines containing the opening and closing brackets are indented to the same level while the parameters of the function are indented one level further. In most cases the arguments and/or keywords should each be placed on separate lines.

The first sentence seems opposite of at least one of the following examples and the second sentence seems contrary to other advice about not having one argument per line. Copy and paste mistake from some other style guide?

@ChrisRackauckas
Copy link
Member

Indeed that's a typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants