Closed AmjadHD closed 5 years ago
Try turning off live_mode. In live_mode mypy is not run against “mod.pyi” but only against its text as provided by pyls. Because it’s only text, mypy doesn’t know that it’s a stub file.
Try turning off live_mode
How do I do that ?
Thanks @tomv564, that fixed it, but does disabling live_mode have side effects ?
Updated the readme to answer your questions
I'm not sure whether this is pyls-mypy, pyls or mypy's issue: I have two files: mod.py:
and mod.pyi:
in
mod.pyi
i get this error on the first overload:but when I check in the command line, I get no errors: