Arif Rezai

Results 9 comments of Arif Rezai

Please pass in the --lib option when running from the shell. On Thu, Oct 22, 2020, 7:07 AM sdorof1 wrote: > Is the numpy lib in pyright path? Check lsp-pyright-extra-paths...

I meant we enable useLibraryCodeForTyoes by default. If you want to get same results when running pyright from the shell, you also need to pass in the --lib option. Could...

Disabling `useLibraryCodeForTypes` will also disable auto-completion for `numpy`. You might want to filter errors (like unknown member etc) for your project.

What are the versions of the `pyright` used by emacs and shell? Also could you share the `lsp-log`?

@dam5h Can you check the performance difference with VSCode pyright/pylance? > what does this mean regarding whether or not lsp-pyright can support background analysis with cancelations? I think not supported...

Just to share my findings, if I understood it correctly, VSCode by default sends an additional argument to pyright that enables some sort of file-based background job cancellation strategy (probably...

@erictraut Thanks a lot for your input, and the great tool. I guess then we can't go with the message-based strategy. Can you point to the documentation for the file-based...

Just installing `sqlalchemy-stubs` worked for me. From `pyright` docs (https://github.com/microsoft/pyright/blob/master/docs/import-resolution.md) > For a given package, try to resolve first using a stub package. Stub packages, as defined in PEP 561,...

Oh sorry, I misunderstood. Yes the plugins don't work. Only the basic inference works.