Missing imports (pyright) of a custom package and mypy not working. #4257
Replies: 3 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Update: here is a working configuration:
But is is important that you have the same python version supported by your installed vim. :) |
Beta Was this translation helpful? Give feedback.
-
PROBLEM (kinda-of) SOLVED |
Beta Was this translation helpful? Give feedback.
-
I have just installed
mypy
andpyright
and it feels like that I am almost there.However, I have a couple of problems:
import <my_package> as <something>
to a REPL then it is recognized and I can use the classes and functions therein defined.mypy
won't recognize the option-p <my package>
. However, if I runmypy -p <my_package>
from the terminal (Anaconda powershell
onWindows 10
) it works fine.Inspection of
:ALEDebugInfo
(below) looks promising for both the issues. It feels that I am almost there but I cannot get there yet... I need some hint.Beta Was this translation helpful? Give feedback.
All reactions