project_config.reporters.toml module
TOML reporters.
- class project_config.reporters.toml.TomlColorReporter(*args: Any, colors: Optional[Dict[str, str]] = None, **kwargs: Any)[source]
Bases:
project_config.reporters.base.BaseColorReporter
Color reporter in TOML format.
- _abc_impl = <_abc_data object>
- errors: Dict[str, List[project_config.types.ErrorDict]]
- class project_config.reporters.toml.TomlReporter(rootdir: str, fmt: Optional[str] = None, only_hints: bool = False)[source]
Bases:
project_config.reporters.base.BaseNoopFormattedReporter
Black/white reporter in TOML format.
- _abc_impl = <_abc_data object>
- errors: Dict[str, List[project_config.types.ErrorDict]]
- project_config.reporters.toml._common_generate_errors_report(files_errors: Dict[str, List[project_config.types.ErrorDict]], format_metachar: Callable[[str], str], format_file: Callable[[str], str], format_key: Callable[[str], str], format_error_message: Callable[[str], str], format_definition: Callable[[str], str], format_hint: Callable[[str], str], format_fixed: Callable[[str], str]) str [source]