mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-16 21:44:56 +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
|
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
|
# Avoid creating future gotchas emerging from bad typing
|
||||||
warn_redundant_casts = True
|
warn_redundant_casts = True
|
||||||
warn_unused_ignores = True
|
warn_unused_ignores = True
|
||||||
|
|||||||
Reference in New Issue
Block a user