Bandit

Bandit is a linter for Python.

You can enable the Bandit linter with:

trunk check enable bandit

Auto Enabling

Bandit will be auto-enabled if any Python files are present.

Settings

Bandit supports the following config files:

  • .bandit

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linter Configs for more info.

Last updated