yapf icon indicating copy to clipboard operation
yapf copied to clipboard

DEDENT_CLOSING_BRACKETS differently trits arguments in the function

Open radamand opened this issue 3 years ago • 0 comments

Version: v0.31.0 Command: python -m yapf --style='{based_on_style: pep8; DEDENT_CLOSING_BRACKETS: True}' /home/xxx/tmp/yapf.py

  1. 2 arguments In: PrometheusPushGatewayHandler( gateway=config.prometheus_gateway,job="data_producer") Out: PrometheusPushGatewayHandler( gateway=config.prometheus_gateway, job="data_producer" )

    • 1 argument: In: PrometheusPushGatewayHandler( gateway=config.prometheus_gateway,job="data_producer",grouping_key=grouping_key)

Out: PrometheusPushGatewayHandler( gateway=config.prometheus_gateway, job="data_producer", grouping_key=grouping_key )

radamand avatar Jul 16 '21 13:07 radamand