Skip to content

Commit

Permalink
Ignore DeprecationWarning caused by dateutil (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Dec 30, 2023
2 parents 9893395 + 2b37be5 commit 690bea8
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 690bea8

Please sign in to comment.