Skip to content

Commit 7ab0d2a

Browse files
committed
Ignore on_event is deprecated warning
1 parent a85de91 commit 7ab0d2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,8 @@ known-third-party = ["sqlmodel", "sqlalchemy", "pydantic", "fastapi"]
133133
[tool.ruff.lint.pyupgrade]
134134
# Preserve types, even if a file imports `from __future__ import annotations`.
135135
keep-runtime-typing = true
136+
137+
[tool.pytest.ini_options]
138+
filterwarnings = [
139+
"ignore:(?s).*on_event is deprecated.*:DeprecationWarning",
140+
]

0 commit comments

Comments
 (0)