Bandit is a security linter for Python codebases. Bandit flags problems like hard-coded passwords, injection vulnerabilities, and the use of insecure libraries.
Banditarrow-up-right 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.
.trunk/configs
trunk check
Bandit sitearrow-up-right
Bandit Trunk Code Quality integration sourcearrow-up-right
Trunk Code Quality's open source plugins repoarrow-up-right
Last updated 1 year ago