Enable "warn_return_any"

This commit is contained in:
Alexander Hess 2026-12-01 11:42:34 +01:00
commit 0a5f8f6c55
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -483,8 +483,8 @@ strict_equality = true
# Report `t.cast()` calls that are not needed
warn_redundant_casts = true
# Allow returning `Any` as long as the ORM models' relationships are untyped
warn_return_any = false
# Report functions returning `Any` despite a non-`Any` return type
warn_return_any = true
# Report "[[tool.mypy.overrides]]" sections that match no module
warn_unused_configs = true