Result of unity build structure validation.
| 121 | |
| 122 | @dataclass |
| 123 | class CheckResult: |
| 124 | """Result of unity build structure validation.""" |
| 125 | |
| 126 | success: bool |
| 127 | violations: list[str] |
| 128 | |
| 129 | def __bool__(self) -> bool: |
| 130 | """Allow CheckResult to be used in boolean context.""" |
| 131 | return self.success |
| 132 | |
| 133 | |
| 134 | def _parse_build_filename(filename: str) -> tuple[str, bool]: |
no outgoing calls