python Mega-Linter Flavor
Description
Optimized for PYTHON based projects
Usage
- GitHub Action: nvuillam/mega-linter/flavors/python@v4
- Docker image: nvuillam/mega-linter-python:v4
- mega-linter-runner:
mega-linter-runner --flavor python
Embedded linters
Languages
Language | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
BASH | bash-exec | BASH_EXEC | ||
shellcheck | BASH_SHELLCHECK | |||
shfmt | BASH_SHFMT | |||
GROOVY | npm-groovy-lint | GROOVY_NPM_GROOVY_LINT | ||
KOTLIN | ktlint | KOTLIN_KTLINT | ||
PYTHON | pylint | PYTHON_PYLINT | ||
black | PYTHON_BLACK | |||
flake8 | PYTHON_FLAKE8 | |||
isort | PYTHON_ISORT | |||
bandit | PYTHON_BANDIT | |||
mypy | PYTHON_MYPY | |||
SQL | sql-lint | SQL_SQL_LINT | ||
sqlfluff | SQL_SQLFLUFF |
Formats
Tooling formats
Other
Code quality checker | Linter | Configuration key | Format/Fix | |
---|---|---|---|---|
COPYPASTE | jscpd | COPYPASTE_JSCPD | ||
CREDENTIALS | secretlint | CREDENTIALS_SECRETLINT | ||
GIT | git_diff | GIT_GIT_DIFF | ||
SPELL | misspell | SPELL_MISSPELL | ||
cspell | SPELL_CSPELL |