This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
How to make pyright run on scratch files? #79
Unanswered
olejorgenb
asked this question in
Q&A
Replies: 1 comment
-
I'm not sure if it is even possible to support this. I just tested, and it seems that the server is not invoked at all when scratch files are opened, possibly because they are not within project roots. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tried various things - adding a pyrightconfig.json in the scratch directory, including the path to my scratches in the main project pyrightconfig.json (in the include lists), but nothing works.
Only way I've managed to do it is to symlink the scratch dir into my main project and access the scratches from the folder.
Beta Was this translation helpful? Give feedback.
All reactions