Skip to content

Commit 5a49127

Browse files
committed
Exclude tpv from Pydantic V1 deprecation error
TPV still uses class-based Config which triggers PydanticDeprecatedSince20; ignore it for that module only.
1 parent dfb411f commit 5a49127

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ asyncio_mode = auto
44
log_level = DEBUG
55
filterwarnings =
66
ignore::pydantic.warnings.PydanticDeprecatedSince20:gravity\.settings
7+
ignore::pydantic.warnings.PydanticDeprecatedSince20:tpv\.
78
error::pydantic.warnings.PydanticDeprecatedSince20
89
ignore::DeprecationWarning:pkg_resources
910
ignore::DeprecationWarning:refgenconf

0 commit comments

Comments
 (0)