Skip to content

Commit cb91919

Browse files
committed
chore: Remove user warning
1 parent 3c1fae8 commit cb91919

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/mkdocstrings/handlers/python/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""This module implements a handler for the Python language."""
22

33
import posixpath
4-
import warnings
54
from typing import Any, BinaryIO, Iterator, List, Optional, Tuple
65

76
from mkdocstrings.handlers.base import BaseHandler
@@ -10,14 +9,6 @@
109
from mkdocstrings.inventory import Inventory
1110
from mkdocstrings.loggers import get_logger
1211

13-
warnings.warn(
14-
"The 'python-legacy' extra of mkdocstrings will become mandatory in the next release. "
15-
"We have no way to detect if you already specify it, so if you do, please ignore "
16-
"this warning. You can globally disable it with the PYTHONWARNINGS environment variable: "
17-
"PYTHONWARNINGS=ignore::UserWarning:mkdocstrings.handlers.python",
18-
UserWarning,
19-
)
20-
2112
# TODO: add a deprecation warning once the new handler handles 95% of use-cases
2213

2314
log = get_logger(__name__)

0 commit comments

Comments
 (0)