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.

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.

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_bandit_xayon-0.6.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pytest_bandit_xayon-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_bandit_xayon-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65bf26df9546539d8e1fadc036487944aafede3819847f78ce2db3fd2145db82
MD5 b30f33b7dde648de5a683c01088a0015
BLAKE2b-256 30d73618739179e743cb159bfd8657aa7e43b8ecd55fa9b7595087ae8ed7403f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page