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
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-bandit
- Owner: SublimeLinter
- License: mit
- Created: 2017-02-09T17:24:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T12:46:34.000Z (over 1 year ago)
- Last Synced: 2025-04-05T13:23:19.419Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 12
- Watchers: 5
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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