38 lines
631 B
Python
38 lines
631 B
Python
"""Public API of the sanity check framework.
|
|
|
|
Checks only need::
|
|
|
|
from ...core import Check, Issue, Severity, SkipCheck, contexts
|
|
"""
|
|
|
|
from . import contexts
|
|
from .check import (
|
|
Check,
|
|
CheckContext,
|
|
Issue,
|
|
Severity,
|
|
SkipCheck,
|
|
all_checks,
|
|
checks_for_context,
|
|
get_check,
|
|
is_local,
|
|
)
|
|
from .runner import Report, Status, fix_check, run_checks
|
|
|
|
__all__ = [
|
|
"Check",
|
|
"CheckContext",
|
|
"Issue",
|
|
"Report",
|
|
"Severity",
|
|
"SkipCheck",
|
|
"Status",
|
|
"all_checks",
|
|
"checks_for_context",
|
|
"contexts",
|
|
"fix_check",
|
|
"get_check",
|
|
"is_local",
|
|
"run_checks",
|
|
]
|