Replies: 1 comment 2 replies
-
|
You can create separate config files for Windows and Linux and use the appropriate one when invoking pyright (using the |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
We use Windows PC and Linux server at the same time.
There are several projects that import the same utils. These utils are not intended to be installed so we place them in the root project directory, both for Windows/Linux.
We want to have only one config file for both platforms, so it could be managed by git.
If
extraPathssupports relative paths, it would be:However, we have test the above but it doesn't work.
Alternatively, we hope
extraPathscould be specified for different platforms (just as uv could resolve packages for different OS.), for example:We have checked
pythonPlatform, it behaves different from what we need.Beta Was this translation helpful? Give feedback.
All reactions