diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-11-06 05:48:20 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-06 09:48:20 +0100 |
commit | 30287b49cd02b6a14ade1bbe9adf9711c3d1259e (patch) | |
tree | e60be4d29f6b11927f2978e65b7e1546af2d119c /doc/en/deprecations.rst | |
parent | 4cd0fde277f657560bf5c4453d3b645094d2c747 (diff) | |
download | pytest-30287b49cd02b6a14ade1bbe9adf9711c3d1259e.tar.gz |
Deprecate --strict (#7985)
Fix #7530
Diffstat (limited to 'doc/en/deprecations.rst')
-rw-r--r-- | doc/en/deprecations.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index 14d1eeb98..d588b1bea 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -18,6 +18,19 @@ Deprecated Features Below is a complete list of all pytest features which are considered deprecated. Using those features will issue :class:`PytestWarning` or subclasses, which can be filtered using :ref:`standard warning filters <warnings>`. +The ``--strict`` command-line option +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. deprecated:: 6.2 + +The ``--strict`` command-line option has been deprecated in favor of ``--strict-markers``, which +better conveys what the option does. + +We have plans to maybe in the future to reintroduce ``--strict`` and make it an encompassing +flag for all strictness related options (``--strict-markers`` and ``--strict-config`` +at the moment, more might be introduced in the future). + + The ``pytest_warning_captured`` hook ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |