def METHOD_NAME(self) -> int:
    """
    Runs all enabled lints.
    """
    count = 0
    hardforks = Hardfork.discover()
    for lint in self.lints:
        diagnostics: List[Diagnostic] = []
        for hardfork in range(0, len(hardforks)):
            diagnostics += lint.lint(hardforks, hardfork)
            if diagnostics:
                count += len(diagnostics)
                print(
                    f"{hardforks[hardfork].name} - "
                    f"{lint.__class__.__name__}:"
                )
                for diagnostic in diagnostics:
                    print("\t", diagnostic.message)
                diagnostics = []
    if count > 0:
        print("Total diagnostics:", count)
    return 1 if count > 0 else 0