Is it possible to make this extension work with Python 3.7? #187
-
Before this extension, there were some VSCode mypy settings that allowed me to use mypy with Python 3.7. Now these settings are gone (VSCode docs just tell me to install this extension), and this extension only works with Python >= 3.8. What can I do (besides upgrading Python)? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@abceleung Yes. You have two options:
|
Beta Was this translation helpful? Give feedback.
-
Thanks. Could you tell me where can I find the older version of the extension? Edit: Right-click on the installed extension and select |
Beta Was this translation helpful? Give feedback.
@abceleung Yes. You have two options:
mypy-type-checker.interpreter
to python-3.8 or greater, and setmypy-type-checker.path
to ["python3.7", "-m", "mypy"]. This will allow you to use newer version of the extension with older mypy versions.