You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue I have with several editors and pyright, so it's probably more of a pyright question. How do you set pyright so that it works with local imports?
I know one solution would be to just use modules and add the __init__py files, but I want it to work with projects that are not structured as a module. I also don't want to have to create a pyright.json in every project I work on. How would you configure Nixvim so that it automatically works with every project?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
This is an issue I have with several editors and pyright, so it's probably more of a pyright question. How do you set pyright so that it works with local imports?
I know one solution would be to just use modules and add the __init__py files, but I want it to work with projects that are not structured as a module. I also don't want to have to create a pyright.json in every project I work on. How would you configure Nixvim so that it automatically works with every project?
Beta Was this translation helpful? Give feedback.
All reactions