google / google/yapf

How to prevent yapf from transforming function calls with only one parameter?

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

Description

Hi,

is there a way to prevent yapf from transforming

DetailView.as_view(
model=Category,
),

into

DetailView.as_view(model=Category,),

?

I can't find a knob for that.

Thanks!

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.