From 2b37be520b6a8b3cfd4aab15b12870a30eedc7d1 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 30 Dec 2023 16:53:24 +0200 Subject: [PATCH] Ignore DeprecationWarning caused by dateutil --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5ba7c13..68d3119 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"