Turn `show_warning_types` on by default (#12597)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Chris SewellandAdam Turner authored and GitHub committed 2024-07-20 21:07:06 +01:00
1 parent cc08854bc2
commit dabacdf5f8
6 files changed
+30 -25

No files matched your search

+3 -1
View File
@@ -1331,7 +1331,7 @@ Options for warning control
.. confval:: show_warning_types
:type: :code-py:`bool`
:default: :code-py:`False`
:default: :code-py:`True`
Add the type of each warning as a suffix to the warning message.
For example, ``WARNING: [...] [index]`` or ``WARNING: [...] [toc.circular]``.
@@ -1339,6 +1339,8 @@ Options for warning control
in a :confval:`suppress_warnings` list.
.. versionadded:: 7.3.0
.. versionchanged:: 8.0.0
The default is now :code-py:`True`.
.. confval:: suppress_warnings
:type: :code-py:`Sequence[str]`