This commit is contained in:
2024-03-09 21:10:40 +02:00
parent b8f3ec0979
commit 5c4997e137
6 changed files with 34 additions and 149 deletions

View File

@ -75,3 +75,15 @@ workers = 4
profile = "black"
line_length = 160
skip = ["migrations", "env", "venv", ".venv", ".git", "media"]
[tool.mypy]
python_version = "3.11"
exclude = ['^\.?venv/',]
plugins = ["pydantic.mypy"]
warn_unused_configs = true
disallow_untyped_defs = true
implicit_optional = true
warn_redundant_casts = true
warn_no_return = false
ignore_missing_imports = false