From 77211035bb10b8e55f595eb7d0392344669ffdec Mon Sep 17 00:00:00 2001 From: Kyle King Date: Sun, 30 Jul 2023 10:25:15 -0400 Subject: [PATCH] fix: Remove deprecated warning_filter (#30) --- src/mkdocs_autorefs/plugin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mkdocs_autorefs/plugin.py b/src/mkdocs_autorefs/plugin.py index 5a73710..3b40b63 100644 --- a/src/mkdocs_autorefs/plugin.py +++ b/src/mkdocs_autorefs/plugin.py @@ -19,7 +19,6 @@ from urllib.parse import urlsplit from mkdocs.plugins import BasePlugin -from mkdocs.utils import warning_filter from mkdocs_autorefs.references import AutorefsExtension, fix_refs, relative_url @@ -29,7 +28,6 @@ from mkdocs.structure.toc import AnchorLink log = logging.getLogger(f"mkdocs.plugins.{__name__}") -log.addFilter(warning_filter) class AutorefsPlugin(BasePlugin):