-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
type: refactoringinternal improvements to the codeinternal improvements to the code
Description
Agree about having two lists, and while at it, we should also stop running with a clear message if one of the essential plugins is passed to -p no:, "this internal plugin is essential for pytest function and cannot be blocked".
I would put those plugins in a list essential_plugins, and just make default_plugins a sum of the essential plugins with the rest:
essential_plugins = (
"fixtures",
"helpconfig", # Provides -p.
...
)
default_plugins = essential_plugins + (
"debugging",
"unittest",
...
) But I believe this is better done in a separate PR, don't you agree?
Originally posted by @nicoddemus in #4965
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: refactoringinternal improvements to the codeinternal improvements to the code