project_config.reporters.default module

Default reporters.

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

Bases: BaseFormattedReporter

Base reporter for default reporters.

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

Generate data report in custom project-config format.

generate_errors_report() str[source]

Generate errors report in custom project-config format.

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

Bases: BaseColorReporter, BaseDefaultReporter

Default color reporter.

_abc_impl = <_abc._abc_data object>
class project_config.reporters.default.DefaultReporter(rootdir: str, fmt: Optional[str] = None, only_hints: bool = False)[source]

Bases: BaseNoopFormattedReporter, BaseDefaultReporter

Default black/white reporter.

_abc_impl = <_abc._abc_data object>