News for hackers. Stuff that matters.
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. :/

Re:Pylance: Fast, feature-rich language support for Python i... by jimbob74 on Wednesday July 01, 2020 @01:35AM (#23698093)
and pylance uses pyright to do so.