Stop exiting early with `--fail-on-warnings; add --exception-on-warning` (#12743)

Co-authored-by: Jeremy Maitin-Shepard <jbms@google.com>
This commit is contained in:
Adam TurnerandJeremy Maitin-Shepard authored and GitHub committed 2024-08-13 17:12:42 +01:00
1 parent 0b17bb1029
commit fadb6b10cb
20 files changed
+160 -177

No files matched your search

+4
View File
@@ -770,6 +770,10 @@ There are also config values that you can set:
If ``False`` is given, autodoc forcedly suppresses the error if the imported
module emits warnings. By default, ``True``.
.. versionchanged:: 8.1
This option now has no effect as :option:`!--fail-on-warning`
no longer exits early.
.. confval:: autodoc_inherit_docstrings
This value controls the docstrings inheritance.