Home
last modified time | relevance | path

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

/external/pigweed/pw_presubmit/py/pw_presubmit/
Dformat_code.py368 if ctx.format_options.python_formatter == 'black':
370 if ctx.format_options.python_formatter == 'yapf':
372 raise ValueError(ctx.format_options.python_formatter)
376 if ctx.format_options.python_formatter == 'black':
378 if ctx.format_options.python_formatter == 'yapf':
380 raise ValueError(ctx.format_options.python_formatter)
Dpresubmit_context.py57 python_formatter: str | None = 'black' variable in FormatOptions
66 python_formatter=fmt.get('python_formatter', 'black'),
/external/pigweed/pw_presubmit/
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",