Enable "warn_return_any"
This commit is contained in:
parent
bbc00e2f1c
commit
0a5f8f6c55
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue