pawamoy / mkdocs-coverage

MkDocs plugin to integrate your coverage HTML report into your site.
https://pawamoy.github.io/mkdocs-coverage
ISC License
24 stars 1 forks source link

Deprecation Warning about warning_filter #8

Closed apirogov closed 1 year ago

apirogov commented 1 year ago

Describe the bug

I think this should be addressed to avoid the plugin breaking in the future:

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
           "/home/a.pirogov/.cache/pypoetry/virtualenvs/gitlab-test-app-MwGeyxI1-py3.9/lib/python3.9/site-packages/mkdocs_coverage/loggers.py",
           line 8, in <module>
               from mkdocs.utils import warning_filter
             File
           "/home/a.pirogov/.cache/pypoetry/virtualenvs/gitlab-test-app-MwGeyxI1-py3.9/lib/python3.9/site-packages/mkdocs/utils/__init__.py",
           line 453, in __getattr__
               warnings.warn(

System (please complete the following information):

apirogov commented 1 year ago

Ah never mind, did not notice that 1.0.0 is out and there this warning is not present anymore apparently.