Skip to content

Commit

Permalink
mypy: enable pydantic plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud committed Aug 11, 2024
1 parent 0700492 commit ebb5397
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ docs = "sphinx-build -b html -d build/doctrees docs/source/ docs/build/"
docs-clean = "rm -rf docs/build/"
#sphinx-apidoc = "sphinx-apidoc -o ./docs/source ./bork"

[tool.mypy]
plugins = [
"pydantic.mypy"
]

[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true

[tool.ruff.lint]
ignore = [
"E401", # multiple imports per line
Expand Down

0 comments on commit ebb5397

Please sign in to comment.