rlsbl v0.40.1 /rlsbl.lint.python_regex
On this page

Python linter using regex pattern matching as a fallback when tree-sitter is unavailable, providing the same checks via line patterns.

#rlsbl.lint.python_regex

#rlsbl.lint.python_regex

Python linter using regex pattern matching as a fallback when tree-sitter is unavailable, providing the same checks via line patterns.

#_check_forbidden_imports

python
def _check_forbidden_imports(lines, filepath, config)

Check each line for forbidden module imports.

#_check_stdout

python
def _check_stdout(lines, filepath, config)

Detect print(), sys.stdout/stderr.write(), and logging.* calls.

#_check_entry_points

python
def _check_entry_points(project_path, config)

Check pyproject.toml for CLI entry point declarations.

#PythonRegexLinter

Python linter using regex pattern matching.

#lint

python
def lint(self, project_path: str, config: LanguageLintConfig) -> list[LintResult]