Use the default handling of optionals

This is strict handling, but allows implicit declarations.
This commit is contained in:
Peter Law
2020-08-04 21:49:42 +01:00
parent 6364dd1511
commit cce3ecb1e4

View File

@@ -34,11 +34,6 @@ disallow_any_generics = True
disallow_subclassing_any = True
# Ensure that optional types are explicit, aiding clarity and ensuring that
# consumers have the choice to enable these if they want to.
no_implicit_optional = True
strict_optional = True
# Avoid creating future gotchas emerging from bad typing
warn_redundant_casts = True
warn_unused_ignores = True