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.py365 if ctx.format_options.python_formatter == 'black':
367 if ctx.format_options.python_formatter == 'yapf':
369 raise ValueError(ctx.format_options.python_formatter)
373 if ctx.format_options.python_formatter == 'black':
375 if ctx.format_options.python_formatter == 'yapf':
377 raise ValueError(ctx.format_options.python_formatter)
Dpresubmit.py219 python_formatter: Optional[str] = 'yapf' variable in FormatOptions
230 python_formatter=fmt.get('python_formatter', 'yapf'),
/external/pigweed/pw_presubmit/
Ddocs.rst200 * ``python_formatter``: Choice of Python formatter. Options are ``black`` (used
202 * ``black_path``: If ``python_formatter`` is ``black``, use this as the
216 "python_formatter": "black",