ValidationResult

class ValidationResult(board_name: str = '', paths: int = 0, error_count: int = 0, warning_count: int = 0, issue_count: int = 0, success_count: int = 0, total_count: int = 0, board_configuration: CheckResult = <factory>, consistency: CheckResult = <factory>, icon: CheckResult = <factory>, max_paths: CheckResult = <factory>, music_download: CheckResult = <factory>, naming: CheckResult = <factory>, screenshots: CheckResult = <factory>, venture: CheckResult = <factory>, yaml: CheckResult = <factory>, error_messages: list[str] = <factory>, informational_messages: list[str] = <factory>, warning_messages: list[str] = <factory>)

Bases: object

A dataclass representing results from multiple validation checks on a single board.

This object is sometimes attached to a ValidationResultBundle object, in the case that the task is returning information about checks for multiple boards. If we are checking only one board, though, we will return this result alone. This object contains the board name, the number of max paths, error, warning, success and other check counts, full CheckResult objects representing the results of each test performed, and three lists containing an aggregate of all the checks’ errors, warnings, or informational messages.

Methods

Attributes

board_name

error_count

issue_count

paths

success_count

total_count

warning_count

board_configuration

consistency

icon

max_paths

music_download

naming

screenshots

venture

yaml

error_messages

informational_messages

warning_messages