From cce3ecb1e45fe0c9ab0ff4d1e1e08de501c6ec56 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Tue, 4 Aug 2020 21:49:42 +0100 Subject: [PATCH] Use the default handling of optionals This is strict handling, but allows implicit declarations. --- setup.cfg | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index a9379444..904b5ffe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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