| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@ccordoba12 I struggled to come up with a test for it. I can use the doc fixture and go with script = doc.jedi_script()
path = script._inference_state.environment.path
assert ...But I have no idea how to inject my custom Jedi plugin configuration to that doc. It just follows my global settings. |
Sorry, something went wrong.
There was a problem hiding this comment.
Small suggestion, the rest looks good to me.
Also, don't worry about adding a test for this. I think it's a very simple addition that doesn't merit a test.
Sorry, something went wrong.
Removed debugging cruft. Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
There was a problem hiding this comment.
Thanks @odiroot!
Sorry, something went wrong.
## Version 1.7.4 (2023/06/29) ### Issues Closed * [Issue 393](python-lsp/python-lsp-server#393) - Environment path doesn't expand user directory In this release 1 issue was closed. ### Pull Requests Merged * [PR 394](python-lsp/python-lsp-server#394) - Resolve homedir references in Jedi environment path, by [@odiroot](https://github.com/odiroot) * [PR 381](python-lsp/python-lsp-server#381) - Report progress even when initialization fails, by [@syphar](https://github.com/syphar) * [PR 380](python-lsp/python-lsp-server#380) - Fix pylint hang on file with many errors, by [@hetmankp](https://github.com/hetmankp) In this release 3 pull requests were closed.
## Version 1.7.4 (2023/06/29) ### Issues Closed * [Issue 393](python-lsp/python-lsp-server#393) - Environment path doesn't expand user directory In this release 1 issue was closed. ### Pull Requests Merged * [PR 394](python-lsp/python-lsp-server#394) - Resolve homedir references in Jedi environment path, by [@odiroot](https://github.com/odiroot) * [PR 381](python-lsp/python-lsp-server#381) - Report progress even when initialization fails, by [@syphar](https://github.com/syphar) * [PR 380](python-lsp/python-lsp-server#380) - Fix pylint hang on file with many errors, by [@hetmankp](https://github.com/hetmankp) In this release 3 pull requests were closed.
## Version 1.7.4 (2023/06/29) ### Issues Closed * [Issue 393](python-lsp/python-lsp-server#393) - Environment path doesn't expand user directory In this release 1 issue was closed. ### Pull Requests Merged * [PR 394](python-lsp/python-lsp-server#394) - Resolve homedir references in Jedi environment path, by [@odiroot](https://github.com/odiroot) * [PR 381](python-lsp/python-lsp-server#381) - Report progress even when initialization fails, by [@syphar](https://github.com/syphar) * [PR 380](python-lsp/python-lsp-server#380) - Fix pylint hang on file with many errors, by [@hetmankp](https://github.com/hetmankp) In this release 3 pull requests were closed.
| Back | FazBrowse Home | New Git URL |
Resolves: #393
Allows easier use with virtualenvwrapper and portability of LSP configuration.