Skip to content

Commit

Permalink
Use pydantic's workaround Tm
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Jun 7, 2023
1 parent 1a7e859 commit 9ed0a66
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ test = "pytest"
addopts = '-m "not acceptance"'
python_files = ["*test_*.py"]
testpaths = ["tests"]
filterwarnings = "error"
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:',
]

[tool.mypy]
enable_error_code = "ignore-without-code"
Expand Down

0 comments on commit 9ed0a66

Please sign in to comment.