Updated
On this page
Abstract protocol defining the interface that all per-language linters must implement for boundary violation detection and reporting.
#rlsbl.lint.protocol
#rlsbl.lint.protocol
Abstract protocols defining interfaces for per-language linters and import scanners.
#LanguageLinter
#lint
python
def lint(self, project_path: str, config: LanguageLintConfig) -> list[LintResult]#ImportScanner
#scan_imports
python
def scan_imports(self, project_path: str) -> set[tuple[str, str, int]]Collect all imports from source files in a project.
Returns a set of (package_name, file_path, line_number) tuples.