Skip to content

Make plugins "more optional" #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gatesn opened this issue Mar 23, 2018 · 2 comments
Closed

Make plugins "more optional" #299

gatesn opened this issue Mar 23, 2018 · 2 comments

Comments

@gatesn
Copy link
Contributor

gatesn commented Mar 23, 2018

Right now, although it's possible to turn off various plugins (e.g. pydocstyle, rope completions etc.) the pydocstyle and rope dependencies are still required.

We should move towards having all plugins optional, beyond Jedi, and therefore only used if they are installed. This would require the module imports to be moved within plugin scopes, and probably some runtime version checks, e.g. ensure that pyflakes is >= 1.6.0 at runtime, else loudly print out a warning.

@wmonk
Copy link

wmonk commented Mar 23, 2018

Can a requirement of this feature be to be able to turn them off from the cli?

@gatesn
Copy link
Contributor Author

gatesn commented Mar 23, 2018

@wmonk can we track that here? #300

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

No branches or pull requests

2 participants