Home
last modified time | relevance | path

Searched refs:python_formatter (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/pigweed/pw_presubmit/py/pw_presubmit/
H A Dformat_code.py360 if ctx.format_options.python_formatter == 'black':
362 if ctx.format_options.python_formatter == 'yapf':
364 raise ValueError(ctx.format_options.python_formatter)
368 if ctx.format_options.python_formatter == 'black':
370 if ctx.format_options.python_formatter == 'yapf':
372 raise ValueError(ctx.format_options.python_formatter)
H A Dpresubmit_context.py57 python_formatter: str | None = 'black' variable in FormatOptions
66 python_formatter=fmt.get('python_formatter', 'black'),
/aosp_15_r20/external/pigweed/pw_presubmit/
H A Ddocs.rst202 * ``python_formatter``: Choice of Python formatter. Options are ``black``
204 * ``black_path``: If ``python_formatter`` is ``black``, use this as the
218 "python_formatter": "black",