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
Uh oh!
There was an error while loading. Please reload this page.
-
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
xyzthat is installed in my environment. The goal is to create a projectxyz-stubsthat would appear in pypi and conda that people could install.For testing purposes, I have a my project with a
xyz-stubsdirectory that has the stubs I am creating, along with atestsdirectory that has code that can test those stubs.From the command line, I want to run
pyrightso that it finds the localxyz-stubsdirectory to look for the stubs forxyz. I can use the pyright config file optionincludeto refer totestsso that pyright type checks the files intests. It's not clear what settings I should use to make things happen so thatpyrightwill use the localxyz-stubsfolder to check the types of the packagexyz.Beta Was this translation helpful? Give feedback.
All reactions