Skip to main content
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.

Metadata

Release files for pytest-bandit-xayon 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytest-bandit-xayon 0.6.1
File Interpreter ABI Platform Actions
pytest_bandit_xayon-0.6.1-py3-none-any.whl Python 3 none any Details for pytest_bandit_xayon-0.6.1-py3-none-any.whl

Release files / pytest_bandit_xayon-0.6.1-py3-none-any.whl

Download URL pytest_bandit_xayon-0.6.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65bf26df9546539d8e1fadc036487944aafede3819847f78ce2db3fd2145db82
BLAKE2b-256 checksum
How to use checksums
30d73618739179e743cb159bfd8657aa7e43b8ecd55fa9b7595087ae8ed7403f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for pytest-bandit-xayon 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page