.. image:: https://img.shields.io/pypi/v/pytest-bandit.svg :target: https://pypi.org/project/pytest-bandit :alt: PyPI version
.. image:: https://img.shields.io/pypi/pyversions/pytest-bandit.svg :target: https://pypi.org/project/pytest-bandit :alt: Python versions
.. image:: https://travis-ci.org/Wanderu/pytest-bandit.svg?branch=master :target: https://travis-ci.org/Wanderu/pytest-bandit :alt: 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.
bandit
_ testing against a repositoryYou can install "pytest-bandit" via pip
from PyPI
::
$ pip install pytest-bandit
bandit_targets
to your pytest configuration and add at least one directory to traversebandit_recurse = true
in your configuration as wellContributions 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
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.
.. Cookiecutter
: https://github.com/audreyr/cookiecutter
.. @hackebrot
: https://github.com/hackebrot
.. MIT
: http://opensource.org/licenses/MIT
.. BSD-3
: http://opensource.org/licenses/BSD-3-Clause
.. GNU GPL v3.0
: http://www.gnu.org/licenses/gpl-3.0.txt
.. Apache Software License 2.0
: http://www.apache.org/licenses/LICENSE-2.0
.. cookiecutter-pytest-plugin
: https://github.com/pytest-dev/cookiecutter-pytest-plugin
.. file an issue
: https://github.com/Wanderu/pytest-bandit/issues
.. pytest
: https://github.com/pytest-dev/pytest
.. bandit
: https://github.com/PyCQA/bandit
.. tox
: https://tox.readthedocs.io/en/latest/
.. pip
: https://pypi.org/project/pip/
.. _PyPI
: https://pypi.org/project