Re:Pylance: Fast, feature-rich language support for Python i...
by geekraver on Tuesday June 30, 2020 @11:01PM
(#23697312)
Pylance supports .pyi files.
Re:Pylance: Fast, feature-rich language support for Python i...
by BerislavLopac on Thursday July 02, 2020 @02:59AM
(#23710681)
As a side note, I've been wishing for a plug-in that would keep the annotations separate from the code, in .pyi files, but transparently integrate them into the editor. I.e. I would write the annotations as part of the code, but on a save they would be removed from the .py file (while still being displayed in the editor) and save them to .pyi.
I would write such a plug-in for PyCharm/IntelliJ myself if I had more time on my hands. :/
Ideally something that handles Numpy sensibly, is well documented, and doesn't require inline annotations (i.e. can use .pyi files)