description | title | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Bandit is a security linter for Python codebases. Bandit flags problems like hard-coded passwords, injection vulnerabilities, and the use of insecure libraries. |
Trunk | How to run Bandit |
|
Bandit is a linter for Python.
You can enable the Bandit linter with:
trunk check enable bandit
Bandit will be auto-enabled if any Python files are present.
Bandit supports the following config files:
.bandit
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info.
- Bandit site
- Bandit Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo