Skip to content

SublimeLinter/SublimeLinter-bandit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

SublimeLinter-bandit

This linter plugin for SublimeLinter provides an interface to bandit. It will be used with files that have the "python" syntax.

Installation

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:

  1. Install Python and pip.

  2. 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.

Settings

Additional settings for SublimeLinter-bandit:

  • tests: comma-separated list of test IDs to run
  • skips: comma-separated list of test IDs to skip