project_config.reporters.yaml module

YAML reporters.

class project_config.reporters.yaml.YamlColorReporter(*args: Any, colors: Optional[dict[str, str]] = None, **kwargs: Any)[source]

Bases: BaseColorReporter

Color reporter in YAML format.

_abc_impl = <_abc._abc_data object>
_transform_config_data(value: str) str[source]
_transform_errors(value: str) str[source]
_transform_plugins_data(value: str) str
_transform_style_data(value: str) str[source]
generate_data_report(data_key: str, data: dict[str, Any]) str[source]

Generate a data report in color YAML format.

generate_errors_report() Any[source]

Generate an errors report in YAML format with colors.

class project_config.reporters.yaml.YamlReporter(rootdir: str, fmt: Optional[str] = None, only_hints: bool = False)[source]

Bases: BaseReporter

Black/white reporter in YAML format.

_abc_impl = <_abc._abc_data object>
generate_data_report(data_key: str, data: dict[str, Any]) str[source]

Generate a data report in black/white JSON format.

generate_errors_report() str[source]

Generate an errors report in black/white YAML format.