Skip to content

Create new INI key that contains a list of required plugins #7305

Closed
@gnikonorov

Description

@gnikonorov

Building off of #7286, we need a way to let users list plugins that are absolutely required. We should have pytest emit a warning when a required plugin is not found, and the --strict-config flag should turn these warnings into errors if passed

The key for this should be called required_plugins and it should be a comma separated list of plugins that must be installed

So it would look like:

[pytest]
required_plugins = pugin1,plugin2,...,pluginN

Metadata

Metadata

Assignees

Labels

topic: configrelated to config handling, argument parsing and config filetype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions