project_config.reporters.table module

Table reporters.

class project_config.reporters.table.TableColorReporter(*args: Any, colors: Optional[Dict[str, str]] = None, **kwargs: Any)[source]

Bases: project_config.reporters.base.BaseColorReporter

Color reporter in table formats.

_abc_impl = <_abc_data object>
data: Dict[str, Any]
errors: Dict[str, List[project_config.types.ErrorDict]]
generate_errors_report() str[source]

Generate an errors report in table format with colors.

class project_config.reporters.table.TableReporter(rootdir: str, fmt: Optional[str] = None)[source]

Bases: project_config.reporters.base.BaseNoopFormattedReporter

Black/white reporter in table formats.

_abc_impl = <_abc_data object>
data: Dict[str, Any]
errors: Dict[str, List[project_config.types.ErrorDict]]
generate_errors_report() str[source]

Generate an errors report in black/white table format.

project_config.reporters.table._common_generate_errors_report(errors: Dict[str, List[project_config.types.ErrorDict]], fmt: str, format_key: Callable[[str], str], format_file: Callable[[str], str], format_error_message: Callable[[str], str], format_definition: Callable[[str], str], format_hint: Callable[[str], str]) str[source]
project_config.reporters.table._common_generate_rows(errors: Dict[str, List[project_config.types.ErrorDict]], format_file: Callable[[str], str], format_error_message: Callable[[str], str], format_definition: Callable[[str], str], format_hint: Callable[[str], str]) List[List[str]][source]