Enable installed pytest plugins
Project Links
Meta
Author: Jason R. Coombs
Requires Python: >=3.9
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
Programming Language
- Python :: 3
- Python :: 3 :: Only
Framework
- Pytest
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
May 16, 2025
3.4.0
Sep 12, 2024
3.3.0
Aug 29, 2024
3.2.0
Mar 21, 2024
3.1.1
Mar 21, 2024
3.1.0
Dec 23, 2023
3.0.0
Jul 14, 2023
2.3.1
Jul 14, 2023
2.3.0
Jun 26, 2023
2.2.0
May 12, 2023
2.1.1
Jan 27, 2023
2.1.0
Nov 23, 2022
2.0.0
Nov 23, 2022
1.3.1
Jun 22, 2022
1.3.0
Nov 08, 2021
1.2.1
Jan 19, 2021
1.2.0
Jan 19, 2021
1.1.0
Jan 18, 2021
1.0.1
Dec 31, 2020
1.0.0