diff --git a/stubs/Deprecated/deprecated/sphinx.pyi b/stubs/Deprecated/deprecated/sphinx.pyi index d5ae7e23fe24..9d8128d1449b 100644 --- a/stubs/Deprecated/deprecated/sphinx.pyi +++ b/stubs/Deprecated/deprecated/sphinx.pyi @@ -17,7 +17,7 @@ class SphinxAdapter(ClassicAdapter): reason: str = "", version: str = "", action: _Actions | None = None, - category: type[Warning] = ..., + category: type[Warning] = DeprecationWarning, # noqa: Y011 extra_stacklevel: int = 0, line_length: int = 70, ) -> None: ...