Skip to main content

Enable installed pytest plugins

Project description

https://img.shields.io/pypi/v/pytest-enabler.svg https://img.shields.io/pypi/pyversions/pytest-enabler.svg tests Code style: Black

The ‘enabler’ plugin allows configuration of plugins if present, but omits the settings if the plugin is not present. For example, to configure black to be enabled if the plugin is present, but not when it is not, add the following to your pyproject.toml:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-enabler-1.0.1.tar.gz (11.1 kB view hashes)

Uploaded source

Built Distribution

pytest_enabler-1.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page