{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"A pytest plugin that conditionally enables other pytest plugins based on configuration, activating them only if they are installed.","skillfed_tags":["pytest-plugin","test-configuration"],"use_cases":["Set up a shared pytest configuration that works across teams without requiring everyone to install the same optional plugins","Gradually roll out new pytest plugins (like code formatters or type checkers) without breaking existing test runs","Maintain a single pyproject.toml that defines plugin behavior for developers who have different plugin suites installed","Reduce boilerplate by letting enabler handle plugin discovery and conditional activation instead of manual pytest.ini tweaking"],"what_it_does":"pytest-enabler is a pytest plugin that lets you configure other pytest plugins in a way that gracefully handles their absence. Instead of failing when an optional plugin isn't installed, enabler simply skips its configuration. You define plugin settings in your pyproject.toml under [tool.pytest-enabler.*] sections, and enabler activates them only if those plugins are present.\n\nThe plugin comes with a default configuration covering common pytest extensions like pytest-black, pytest-cov, pytest-flake8, pytest-mypy, pytest-ruff, pytest-xdist, and pytest-ignore-flaky. You can override or extend these defaults in your own config, and you can still disable any plugin at runtime using pytest's standard -p no:plugin_name flag.","worth_installing":"Yes. If you use pytest and manage optional plugins (formatters, linters, type checkers), enabler eliminates configuration friction by letting you define plugin settings that only apply when those plugins are installed. Low install friction, active maintenance, MIT license, and no known vulnerabilities make it a safe addition to any pytest workflow."},"id":"pytest-enabler","links":{"html":"https://skillfed.io/packages/pytest-enabler","md":"https://skillfed.io/packages/pytest-enabler.md","pypi":"https://pypi.org/project/pytest-enabler/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-05-16","license_spdx":"MIT","license_treatment":"permissive","name":"pytest-enabler","python_support":"supports_current","summary":"Enable installed pytest plugins"},"popularity":{"monthly_downloads":90868,"position":13559,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.4.0"}
