python MegaLinter Flavor
Description
Optimized for PYTHON based projects
Usage
- GitHub Action: megalinter/megalinter/flavors/python@v6-alpha
- Docker image: megalinter/megalinter-python:v6-alpha
- mega-linter-runner:
mega-linter-runner --flavor python
Embedded linters
Languages
Language | Linter | Configuration key | Additional | |
---|---|---|---|---|
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 | Additional | |
---|---|---|---|---|
COPYPASTE | jscpd | COPYPASTE_JSCPD | ||
git_diff | REPOSITORY_GIT_DIFF | |||
gitleaks | REPOSITORY_GITLEAKS | |||
goodcheck | REPOSITORY_GOODCHECK | |||
secretlint | REPOSITORY_SECRETLINT | |||
semgrep | REPOSITORY_SEMGREP | |||
trivy | REPOSITORY_TRIVY | |||
SPELL | misspell | SPELL_MISSPELL | ||
cspell | SPELL_CSPELL |