Skip to content

Commit 05c5052

Browse files
committed
Don't error on ast deprecation warnings
1 parent d01397a commit 05c5052

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ filterwarnings =
230230
error
231231
ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning
232232
ignore::DeprecationWarning:certifi
233+
always:ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning
234+
always:Attribute s is deprecated and will be removed in Python 3.14; use value instead:DeprecationWarning
235+
always:ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning
236+
always:ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant:DeprecationWarning
237+
always:datetime.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version:DeprecationWarning
233238
234239
[testenv]
235240
setenv =

0 commit comments

Comments
 (0)