mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-24 22:34:22 +08:00
Use the default handling of optionals
This is strict handling, but allows implicit declarations.
This commit is contained in:
@@ -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