This project has been archived by its maintainers, and is no longer receiving any updates.
pytest-max-warnings
[!IMPORTANT] This plugin and codebase are archived. As of pytest 9.1.0, the
--max-warningsoption is built into pytest itself. See the pytest documentation for details. No further releases of this plugin are planned.
A Pytest plugin to exit non-zero exit code when the configured maximum warnings has been exceeded.
Installation
You can install "pytest-max-warnings" via pip:
pip install pytest-max-warnings
or any other package manager you prefer.
Usage
You can set the maximum number of warnings allowed by using the --max-warnings option:
pytest --max-warnings 10
If the number of warnings exceeds the maximum, the test run will exit with a non-zero exit code.
License
Distributed under the terms of the MIT license, "pytest-max-warnings" is free and open source software. See LICENSE for more details.
Authors
Metadata
Release files for pytest-max-warnings 0.1.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_max_warnings-0.1.0.post1.tar.gz | 7.2 kB | With provenance | Details for pytest_max_warnings-0.1.0.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_max_warnings-0.1.0.post1-py3-none-any.whl | Python 3 | none | any | Details for pytest_max_warnings-0.1.0.post1-py3-none-any.whl |
Total release size: 11.1 kB
Release files / pytest_max_warnings-0.1.0.post1.tar.gz
| Download URL | pytest_max_warnings-0.1.0.post1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a044f39fb4e0cc0d1246a5f5b99c0e193f7181241840791c7566ce51d579d6e
|
|
BLAKE2b-256 checksum How to use checksums |
6965a546ca58b192606630eb1cc9c24d529a1b21a6bb790b60460ce7eef54d16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 2, 2026.
Transparency logRelease files / pytest_max_warnings-0.1.0.post1-py3-none-any.whl
| Download URL | pytest_max_warnings-0.1.0.post1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
685c08c13120e2323d5d2138979506a40f799e5be2c0a10d96b2a1c776bce15d
|
|
BLAKE2b-256 checksum How to use checksums |
c12cd72ad5df7c4c1cdeafcf916678ecab0d30361e45a9b7a6442c1086403c05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 2, 2026.
Transparency logSecurity for pytest-max-warnings 0.1.0.post1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pytest_max_warnings-0.1.0.post1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 2, 2026.
Transparency logA 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.