Skip to main content

A bandit plugin for pytest

Project description

PyPI version Python versions See Build Status on Travis CI

A bandit plugin for pytest

This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.


  • Execute bandit testing against a repository


  • Bandit > 1.4.0


You can install “pytest-bandit” via pip from PyPI:

$ pip install pytest-bandit


  • add bandit_targets to your pytest configuration and add at least one directory to traverse
  • you probably want bandit_recurse = true in your configuration as well


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, “pytest-bandit” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytest-bandit, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size pytest_bandit-0.5.2-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytest-bandit-0.5.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page