Skip to content

Commit

Permalink
Ignore DeprecationWarning caused by dateutil
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 30, 2023
1 parent d9f163a commit 2b37be5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ known-first-party = ["humanize"]

[tool.pytest.ini_options]
addopts = "--color=yes"
filterwarnings = [
"error",
# https://github.com/dateutil/dateutil/issues/1314
"ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz",
]

[tool.pydocstyle]
convention = "google"

0 comments on commit 2b37be5

Please sign in to comment.