Skip to main content

Enable installed pytest plugins

Project description 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:

addopts = "--black"

Known to work with the following plugins:

  • pytest-black
  • pytest-cov
  • pytest-flake8
  • pytest-mypy
  • pytest-xdist

Project details

Download files

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

Files for pytest-enabler, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size pytest_enabler-1.2.1-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytest-enabler-1.2.1.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page