Replies: 1 comment 1 reply
-
Converting to a discussion topic since this is a general question rather than a bug or a feature request. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need this for the pandas-stubs project we are creating, but it is more of a general question.
Let's say that I want to create a set of type stubs for package
xyz
that is installed in my environment. The goal is to create a projectxyz-stubs
that would appear in pypi and conda that people could install.For testing purposes, I have a my project with a
xyz-stubs
directory that has the stubs I am creating, along with atests
directory that has code that can test those stubs.From the command line, I want to run
pyright
so that it finds the localxyz-stubs
directory to look for the stubs forxyz
. I can use the pyright config file optioninclude
to refer totests
so that pyright type checks the files intests
. It's not clear what settings I should use to make things happen so thatpyright
will use the localxyz-stubs
folder to check the types of the packagexyz
.Beta Was this translation helpful? Give feedback.
All reactions