Skip to content

Commit

Permalink
Add warning filter for pydantic warning emitted by HF import (#375)
Browse files Browse the repository at this point in the history
* Add warning filter for pydantic warning emitted by HF import.

* Add warning filter for Apple Paravirtual warning.
  • Loading branch information
rmitsch authored Nov 17, 2023
1 parent 2c37a81 commit a0e1080
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ filterwarnings = [
"ignore:^.*The `dict` method is deprecated; use `model_dump` instead.*",
"ignore:^.*The `parse_obj` method is deprecated; use `model_validate` instead.*",
"ignore:^.*`__get_validators__` is deprecated.*",
"ignore:^.*The `construct` method is deprecated.*"
"ignore:^.*The `construct` method is deprecated.*",
"ignore:^.*Skipping device Apple Paravirtual device that does not support Metal 2.0.*",
"ignore:^.*Pydantic V1 style `@validator` validators are deprecated."
]
markers = [
"external: interacts with a (potentially cost-incurring) third-party API",
Expand Down

0 comments on commit a0e1080

Please sign in to comment.