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.
python -m venv .venv source .venv/bin/activate pip insatll tox tox
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.