Skip to content

Commit

Permalink
chore: filter DeprecationWarning (#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
waketzheng authored Jul 16, 2024
1 parent 9d2edb0 commit 717a92a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ per-file-ignores = [
]
docstring_style = "sphinx"

[tool.pytest.ini_options]
filterwarnings = [
'ignore:`pk` is deprecated:DeprecationWarning',
'ignore:`index` is deprecated:DeprecationWarning',
]

[tool.coverage.run]
branch = true
source = ["tortoise"]
Expand Down

0 comments on commit 717a92a

Please sign in to comment.