Skip to content

Improve JediDebugInfo for envs#858

Merged
davidhalter merged 2 commits intodavidhalter:masterfrom
blueyed:jedi-info
Jul 27, 2018
Merged

Improve JediDebugInfo for envs#858
davidhalter merged 2 commits intodavidhalter:masterfrom
blueyed:jedi-info

Conversation

@blueyed
Copy link
Collaborator

@blueyed blueyed commented Jul 27, 2018

This is taken out of #836.


def get_known_environments():
"""Get known Jedi environments."""
envs = list(jedi.api.environment.find_virtualenvs(paths=[], safe=False))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why overwrite safe? It's not like people are really using that (nor will they probably ever in jedi-vim) and also why paths?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paths is used in #836 - thought it would be easier to merge then probably by keping it here.
´safe=Falseis used because the user configurespaths` in #836.
I will change it here to not use any args.

@davidhalter
Copy link
Owner

Thanks!

@davidhalter davidhalter merged commit 4c430ed into davidhalter:master Jul 27, 2018
@blueyed blueyed deleted the jedi-info branch July 28, 2018 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants