Make mypy as strict as practical #13
1 changed files with 3 additions and 0 deletions
Enable "disallow_any_unimported"
commit
bbc00e2f1c
|
|
@ -446,6 +446,9 @@ check_untyped_defs = true
|
|||
# Disallow generic types without explicit type parameters
|
||||
disallow_any_generics = true
|
||||
|
||||
# Disallow types that become `Any` because their library is untyped
|
||||
disallow_any_unimported = true
|
||||
|
||||
# Disallow functions with incomplete type annotations
|
||||
disallow_incomplete_defs = true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue