A bandit plugin for pytest
Project description
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
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.
Development setup & testing
python -m venv .venv source .venv/bin/activate pip insatll tox tox
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-bandit-0.6.1.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for pytest_bandit-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9612d299ff32c6b6c74fd149ea0444fa65cb2da5918cbeb6616adba631505dd3 |
|
MD5 | 055eb023f6edab889c74055b7bb90a53 |
|
BLAKE2-256 | d25aadb256fe1fe7f93c8d54de2ae01a039e57a7b144f52fa168788782a579a6 |