Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning_filter warning #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msabramo
Copy link

Prevents this warning from MkDocs 1.6.0:

$ pdm run mkdocs build
INFO    -  DeprecationWarning: warning_filter doesn't do anything since MkDocs 1.2 and will be removed soon. All messages on the
           `mkdocs` logger get counted automatically.
             File
           ".../.venv/lib/python3.10/site-packages/mkdocs_ezlinks_plugin/plugin.py",
           line 5, in <module>
               from mkdocs.utils import warning_filter
             File ".../.venv/lib/python3.10/site-packages/mkdocs/utils/__init__.py",
           line 403, in __getattr__
               warnings.warn(

Prevents this warning from MkDocs 1.6.0:

```shell
$ pdm run mkdocs build
INFO    -  DeprecationWarning: warning_filter doesn't do anything since MkDocs 1.2 and will be removed soon. All messages on the
           `mkdocs` logger get counted automatically.
             File
           ".../.venv/lib/python3.10/site-packages/mkdocs_ezlinks_plugin/plugin.py",
           line 5, in <module>
               from mkdocs.utils import warning_filter
             File ".../.venv/lib/python3.10/site-packages/mkdocs/utils/__init__.py",
           line 403, in __getattr__
               warnings.warn(
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant