16 lines
379 B
Python
16 lines
379 B
Python
# SPDX-FileCopyrightText: 2026 Art Sea LLC
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
from dataclasses import dataclass
|
|
from typing import List
|
|
|
|
from band_aider.judgement.check import Check
|
|
|
|
|
|
@dataclass
|
|
class CompositeCheck(Check):
|
|
aggregate_checks: List[Check]
|
|
|
|
def __call__(self, *args, **kwargs) -> bool:
|
|
return all(map(lambda c: c(), self.aggregate_checks))
|