yambs.generate.ninja.format
index
/home/vkottler/src/vkottler/workspace/yambs/yambs/generate/ninja/format.py

A module for writing formatting-related ninja build rules.

 
Functions
       
render_format(config: yambs.config.common.CommonConfig, paths: Iterable[pathlib.Path], root: pathlib.Path = None, suffix: str = '') -> None
Render the ninja source for formatting files.
write_format_target(stream: <class 'TextIO'>, paths: Iterable[pathlib.Path], suffix: str, root: pathlib.Path = None) -> None
Write rules and targets for running clang-format on first-party sources
and headers.

 
Data
        DEFAULT_ENCODING = 'utf-8'
Iterable = typing.Iterable
linesep = '\n'