tomv564 / pyls-mypy

Mypy plugin for the Python Language Server
MIT License
110 stars 62 forks source link

Does not check as strict as command line mypy #7

Closed tomv564 closed 7 years ago

tomv564 commented 7 years ago

See typing issues in this commit from a recent PR: https://github.com/tomv564/LSP/commit/4d55a4a339ce147b575a4d86d4a264a86ada1b9f

Could it be mypy.ini not being read ?

check_untyped_defs = True
strict_optional = True
mypy_path = stubs
tomv564 commented 7 years ago

The strictness mismatch in that PR was because the user was running a big workspace where mypy.ini was not detected. A default about ignoring missing imports was removed in https://github.com/tomv564/pyls-mypy/commit/e594a57154128e11f5beb2ec06e7420d2fdee5ec