Replies: 2 comments 2 replies
-
i'm not really that knowledgable here but doesn't this indicate that they use mypy as well? https://github.com/gogcom/galaxy-integrations-python-api/blob/6a1d2763c374bbcfea960310c7f81fbde131fbf0/mypy.ini |
Beta Was this translation helpful? Give feedback.
-
AFAIK there is no native stubs support for the API. But in humble plugin I've used to run mypy in local venv with API pkg installed (as well on the CI) so that it can see all the code imported from there. The lib is small so I won't optimize it with if TYPE_CHECKING guard around import statement. Or maybe I misunderstand the usecase of pyi files? |
Beta Was this translation helpful? Give feedback.
-
I was running MyPy on the Steam Rework and I've run into the fact that the galaxy api package does not natively support linters (aka typing) as defined in PEP 561. I thought i saw a
.pyi
file for it somewhere but can't seem to find it anywhere. I'm in the process of making one, but don't want to do extra work if one is around somewhere. Has anyone here seen one?@UncleGoogle @urwrstkn8mare @Mixaill
Beta Was this translation helpful? Give feedback.
All reactions