Slide 103
Slide 103 text
class BasePlugin(object):
def __init__(self, name: str, checks: CheckTypeSpec):
...
@classmethod
def load_checks(
cls,
configuration: Configuration,
loader: ConventionalLoader,
) -> Sequence[CheckTypeSpec]:
...
def run_project_checks(
self,
type_engine: BaseTypeEngine,
project_modules: ProjectModules,
configuration: Configuration,
) -> Iterable[BaseViolation]:
...
def run_module_checks(
self,
type_checker: BaseTypeChecker,
configuration: Configuration,
module_spec: ModuleSpec,
) -> Iterable[BaseViolation]:
...