Skip to content

Commit

Permalink
Silence some deprecation warnings for Python 3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
iurisilvio committed Mar 7, 2024
1 parent ef9d0e0 commit 41ec4c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ enable = true
addopts = "--capture=no"
filterwarnings = [
"error",
# pytest-cov warnings
"ignore:ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning",
"ignore:Attribute s is deprecated and will be removed in Python 3.14; use value instead:DeprecationWarning",
"ignore:ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning",
]

[tool.ruff]
Expand Down

0 comments on commit 41ec4c4

Please sign in to comment.