Skip to content

Commit

Permalink
Fix for Python 3.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
dermotduffy committed Jan 28, 2023
1 parent c463e79 commit 49986de
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,14 @@ norecursedirs = [
"testing_config",
]
filterwarnings = [
# Can be removed after there is a new pytest-cov release with https://github.com/pytest-dev/pytest-cov/issues/561 .
"ignore:.*hookimpl CovPlugin.*old-style configuration options.*:pytest.PytestDeprecationWarning"
# Can be removed after there is a new pytest-cov release with
# https://github.com/pytest-dev/pytest-cov/issues/561 .
"ignore:.*hookimpl CovPlugin.*old-style configuration options.*:pytest.PytestDeprecationWarning",

# Can be removed once we can update to pytest-asyncio==0.20.3 (which in
# turn requires a release of pytest-homeassistant-custom-component >
# 0.12.49)
"ignore:.*There is no current event loop.*:DeprecationWarning"
]
addopts = "--timeout=10 --cov-report=xml:coverage.xml --cov-report=term-missing --cov=custom_components.frigate --cov-fail-under=100"

Expand All @@ -151,4 +157,4 @@ warn_return_any = true
warn_unreachable = true

# Custom Frigate configuration.
show_error_codes = true
show_error_codes = true

0 comments on commit 49986de

Please sign in to comment.