RomeoDespres / reapy

A pythonic wrapper for REAPER's ReaScript Python API
MIT License
111 stars 25 forks source link

Fix typo for Jedi and mypy #109

Closed Levitanus closed 3 years ago

Levitanus commented 3 years ago

There're some issues preventing correct working of Jedi and other completion tools. I can't say, why do they prefer to use *.py files considering some import processes, but they are. So, most of reapy.__init__ contents are made available for Jedi parsing. Other *.pyi files are updated to be connected to the updated *.py.


Actually, as far I go within modifying reapy source, as much I desire to get *.pyi files out and put type hints directly to the code.

I see, that the mypy sources themselves are made without type hints, but while reapy is modified, stubs became incomplete, also I cannot use mypy on the reapy source itself during my work on it and this is quite uncommon for me. I can't say if it is a problem for other contributors.

May we discuss such possibility?))