@dataclassclassFormatAndLintResult:"""Combined result of format and lint operations."""format_result:FormatResultlint_result:LintResult@propertydefsuccess(self)->bool:"""Overall success if both operations succeeded."""returnself.format_result.successandself.lint_result.success@propertydeftotal_duration(self)->float:"""Total duration of both operations."""returnself.format_result.duration+self.lint_result.duration