Skip to content

Commit

Permalink
Ignore DeprecationWarning from dateutil for `datetime.utcfromtimest…
Browse files Browse the repository at this point in the history
…amp()` usage
  • Loading branch information
rmartin16 committed May 25, 2023
1 parent 69efc7f commit ab488e5
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 @@ -53,6 +53,8 @@ filterwarnings = [
"error",
# Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12
'ignore:(ast\.Str|ast\.NameConstant|ast\.Num|Attribute s) is deprecated and will be removed.*:DeprecationWarning:',
# https://github.com/dateutil/dateutil/issues/1284
'ignore:.*datetime.utcfromtimestamp\(\) is deprecated.*:DeprecationWarning:',
]

# need to ensure build directories aren't excluded from recursion
Expand All @@ -75,4 +77,4 @@ type = [
{ directory = "removal", name = "Backward Incompatible Changes", showcontent = true },
{ directory = "doc", name = "Documentation", showcontent = true },
{ directory = "misc", name = "Misc", showcontent = false },
]
]

0 comments on commit ab488e5

Please sign in to comment.