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)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_enabler-3.4.0.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|