Enable installed pytest plugins
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_enabler-3.4.0.tar.gz.
File metadata
- Download URL: pytest_enabler-3.4.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ece0ff22183503804d15307364290bc41fa027c843eb7046ee4f3439c8ba3f
|
|
| MD5 |
4eac0647bb427db9eabacdb02dd6c741
|
|
| BLAKE2b-256 |
7bd4508a0dee041565e0384d334040e139231e64551ded013d2a4d1d14c04143
|
File details
Details for the file pytest_enabler-3.4.0-py3-none-any.whl.
File metadata
- Download URL: pytest_enabler-3.4.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7ef9d176c3a6d352841582124176633caec961d036abb114ac6c8c6b103de63
|
|
| MD5 |
7c18446dd27450b0aefd5d257ce02b21
|
|
| BLAKE2b-256 |
18abeecb363b6e4c368927956ed6cadf0123bea2e9d68d3b2720ab154126e587
|