Skip to content

Commit

Permalink
Filter more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Nov 6, 2024
1 parent 6f2151d commit 3ac3ec0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,9 @@ filterwarnings = [
"ignore:getReadersFromUrls is deprecated. Please use get_readers_from_urls instead:DeprecationWarning:pysmi.reader.url", # wrong stacklevel
# https://github.com/briis/pyweatherflowudp/blob/v1.4.5/pyweatherflowudp/const.py#L20 - v1.4.5 - 2023-10-10
"ignore:This function will be removed in future versions of pint:DeprecationWarning:pyweatherflowudp.const",
# Wrong stacklevel
# https://bugs.launchpad.net/beautifulsoup/+bug/2034451 fixed in >4.12.3
"ignore:It looks like you're parsing an XML document using an HTML parser:UserWarning:html.parser",
# # Wrong stacklevel
# # https://bugs.launchpad.net/beautifulsoup/+bug/2034451 fixed in >4.12.3
# "ignore:It looks like you're parsing an XML document using an HTML parser:UserWarning:html.parser",
# New in aiohttp - v3.9.0
"ignore:It is recommended to use web.AppKey instances for keys:UserWarning:(homeassistant|tests|aiohttp_cors)",
# - SyntaxWarnings
Expand Down Expand Up @@ -630,6 +630,8 @@ filterwarnings = [
# https://pypi.org/project/directv/ - v0.4.0 - 2020-09-12
"ignore:with timeout\\(\\) is deprecated:DeprecationWarning:directv.directv",
"ignore:datetime.*utcnow\\(\\) is deprecated and scheduled for removal:DeprecationWarning:directv.models",
# https://pypi.org/project/enocean/ - v0.50.1 (installed) -> v0.60.1 - 2021-06-18
"ignore:It looks like you're parsing an XML document using an HTML parser:UserWarning:enocean.protocol.eep",
# https://pypi.org/project/foobot_async/ - v1.0.1 - 2024-08-16
"ignore:with timeout\\(\\) is deprecated:DeprecationWarning:foobot_async",
# https://pypi.org/project/httpsig/ - v1.3.0 - 2018-11-28
Expand Down Expand Up @@ -672,6 +674,12 @@ filterwarnings = [
"ignore:datetime.*utcfromtimestamp\\(\\) is deprecated and scheduled for removal:DeprecationWarning:rx.internal.constants",
# https://pypi.org/project/rxv/ - v0.7.0 - 2021-10-10
"ignore:defusedxml.cElementTree is deprecated, import from defusedxml.ElementTree instead:DeprecationWarning:rxv.ssdp",

# -- custom --
"ignore:This method will be removed future version, pass the callback to the BleakClient constructor instead:FutureWarning:habluetooth.wrappers",

# -- custom tracking --
# https://github.com/python-hyper/h2/issues/1236
]

[tool.coverage.run]
Expand Down

0 comments on commit 3ac3ec0

Please sign in to comment.