This linter plugin for SublimeLinter provides an interface to bandit. It will be used with files that have the "python" syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, ensure that bandit
(1.3.0 or later) is installed on your system:
-
Install
bandit
by typing the following in a terminal:[sudo] pip install bandit
Please make sure that the path to bandit
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html
Additional settings for SublimeLinter-bandit:
tests
: comma-separated list of test IDs to runskips
: comma-separated list of test IDs to skip