Skip to content

pytest plugin to execute bandit across a codebase

License

Notifications You must be signed in to change notification settings

Babarberousse/pytest-bandit

 
 

Repository files navigation

pytest-bandit

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.

Features

  • Execute bandit testing against a repository

Requirements

  • Bandit > 1.4.0

Installation

You can install "pytest-bandit" via pip from PyPI:

$ pip install pytest-bandit

Usage

  • 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

Contributing

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.

License

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

Issues

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

About

pytest plugin to execute bandit across a codebase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%