mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-21 22:38:30 +08:00
Add explicit Optional annotation
This isn't a mypy issue -- there's no way it could otherwise know that this `None` value is in fact an optional callable.
This commit is contained in:
@@ -57,8 +57,3 @@ strict_equality = True
|
||||
[mypy-jedi,jedi.inference.compiled,jedi.inference.value]
|
||||
# Various __init__.py files which contain re-exports we want to implicitly make.
|
||||
implicit_reexport = True
|
||||
|
||||
[mypy-jedi.debug]
|
||||
# jedi.debug is configured by setting module-level values, which mypy doesn't
|
||||
# know about. See https://github.com/python/mypy/issues/9209.
|
||||
warn_unreachable = False
|
||||
|
||||
Reference in New Issue
Block a user