Skip to main content
https://img.shields.io/pypi/v/pytest-enabler.svg https://img.shields.io/pypi/pyversions/pytest-enabler.svg tests Ruff https://readthedocs.org/projects/pytest-enabler/badge/?version=latest https://img.shields.io/badge/skeleton-2025-informational

The enabler plugin allows configuration of plugins if present, but omits the settings if the plugin is not present. For example, the following config enables black to be enabled when present:

[tool.pytest-enabler.black]
addopts = "--black"

Then, to temporarily disable a plugin, use pytest’s built-in support for disabling a plugin:

pytest -p no:black

enabler includes a default config.

Known to work with the following plugins:

  • pytest-black

  • pytest-cov

  • pytest-flake8

  • pytest-mypy

  • pytest-ruff

  • pytest-xdist

  • pytest-ignore-flaky

Metadata

Release files for pytest-enabler 3.4.0

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

Source distribution (sdist)

Source distribution for pytest-enabler 3.4.0
File Size Uploaded
pytest_enabler-3.4.0.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-enabler 3.4.0
File Interpreter ABI Platform
pytest_enabler-3.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / pytest_enabler-3.4.0.tar.gz

Download URL pytest_enabler-3.4.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
45ece0ff22183503804d15307364290bc41fa027c843eb7046ee4f3439c8ba3f
BLAKE2b-256 checksum
How to use checksums
7bd4508a0dee041565e0384d334040e139231e64551ded013d2a4d1d14c04143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / pytest_enabler-3.4.0-py3-none-any.whl

Download URL pytest_enabler-3.4.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7ef9d176c3a6d352841582124176633caec961d036abb114ac6c8c6b103de63
BLAKE2b-256 checksum
How to use checksums
18abeecb363b6e4c368927956ed6cadf0123bea2e9d68d3b2720ab154126e587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

3.4.0 This release

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

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