An open API service indexing awesome lists of open source software.

https://github.com/sublimelinter/sublimelinter-bandit

SublimeLinter plugin for Python, using bandit
https://github.com/sublimelinter/sublimelinter-bandit

Last synced: 11 months ago
JSON representation

SublimeLinter plugin for Python, using bandit

Awesome Lists containing this project

README

          

SublimeLinter-bandit
====================

This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [bandit](https://bandit.readthedocs.io/).
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](https://packagecontrol.io) 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](http://python.org/download/) and [pip](http://www.pip-installer.org/en/latest/installing.html).

1. 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](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).

## Settings
- 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 run
- `skips`: comma-separated list of test IDs to skip