mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-05 12:48:47 +08:00
Use the default handling of optionals
This is strict handling, but allows implicit declarations.
This commit is contained in:
1 parent
6364dd1511
commit
cce3ecb1e4
1 file changed
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user