-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
In pytest 6.2, we deprecated the --strict
option. In pytest 8, we purportedly removed it, however I completely botched the removal (1f8b39e), instead of removing --strict
I removed its deprecation, effectively un-deprecating it.
I wonder if we should:
-
re-deprecate it and remove in pytest 10
-
remove it, on the idea that it did go through a deprecation period after all
-
go with our original plan which is to make
--strict
an "open" flag which enables all current and future--strict-*
flags (currently--strict-markers
and--strict-config
). Since--strict
currently means--strict-markers
this will add--strict-config
to--strict
and document--strict
as a proper feature. -
other
I'd like to do 3 (and BTW also add ini options for strict
and the current strict flags since I see them as project settings not per-run settings...).
(In #13757 I'm thinking it should be another strictness flag but not decided yet)