tools/mypy: Enforce a more explicit checking of Optional.

This commit is contained in:
neiljp (Neil Pilgrim) 2018-03-23 22:43:58 +00:00 committed by Tim Abbott
parent 704c33331c
commit 6e89b60e44
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
check_untyped_defs = True
disallow_any_generics = True
strict_optional = True
# This is a more explicit supporting form of strict-optional:
no_implicit_optional = True
scripts_are_modules = True
show_traceback = True