PYTHON
Linters
Linter | Additional |
---|---|
pylint PYTHON_PYLINT |
|
black PYTHON_BLACK |
|
flake8 PYTHON_FLAKE8 |
|
isort PYTHON_ISORT |
|
bandit PYTHON_BANDIT |
|
mypy PYTHON_MYPY |
|
pyright PYTHON_PYRIGHT |
|
ruff PYTHON_RUFF |
Linted files
- File extensions:
.py
Configuration in MegaLinter
Variable | Description | Default value |
---|---|---|
PYTHON_PRE_COMMANDS | List of bash commands to run before the linters | None |
PYTHON_POST_COMMANDS | List of bash commands to run after the linters | None |
PYTHON_FILTER_REGEX_INCLUDE | Custom regex including filter | |
PYTHON_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |