user1632812
user1632812

Reputation: 553

what's the poetry equivalent of pip install 'python-lsp-server[all]'?

In the page about the python lsp server there are examples about how to install it in an env based on pip; like

pip install 'python-lsp-server[all]'

or

pip install 'python-lsp-server[yapf]'

How do I get the same with Poetry ?

Upvotes: 0

Views: 601

Answers (1)

Daniil Ryzhkov
Daniil Ryzhkov

Reputation: 7596

Use --extras argument:

poetry install python-lsp-server --extras "yapf", "flake8"

As an alternative use -E argument:

poetry install python-lsp-server -E yapf -E flake8

Source

Upvotes: 1

Related Questions