Add pydantic plugin to mypy to eliminate incorrect lint errors

This commit is contained in:
lj 2024-05-17 10:39:36 +08:00
parent f3d0f003fb
commit 1de5aa30af
No known key found for this signature in database

View File

@ -84,3 +84,5 @@ version_files = [
"pyproject.toml:^version"
]
[tool.mypy]
plugins = "pydantic.mypy"