[Bootstrap] Add Python LSP packages

This commit is contained in:
Lucien Cartier-Tilet 2020-10-01 18:26:52 +02:00
parent 712fb54c2f
commit 81ae88c905
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 9 additions and 8 deletions

View File

@ -235,7 +235,7 @@ rustup component add rls
rustup component add clippy
printf "\n# Installing Python packages ##################################################\n\n"
pip install --user pyls-isort pyls-mypy pyls-black
pip install --user python-language-server[all] pyls-isort pyls-mypy pyls-black
printf "\n# Setting up Chicken ##########################################################\n\n"
chicken-install -s apropos chicken-doc

View File

@ -699,7 +699,8 @@
correctly working.
#+NAME: python-packages-table
| Package | Why |
|------------+-------------------------|
|-----------------------------+-------------------------|
| python-language-server[all] | Python LSP packages |
| pyls-isort | Import sortings for LSP |
| pyls-mypy | Mypy linter for LSP |
| pyls-black | Black plugin for pyls |
@ -710,8 +711,8 @@
(s-join " " packages))
#+END_SRC
#+RESULTS[d368dd4fa0df32b06cf27cb047ea3565777ffce6]: python-packages-gen
: pip install --user pyls-isort pyls-mypy pyls-black
#+RESULTS[cb6abaea9d7130a67569af2b4d1a545651bf29ab]: python-packages-gen
: pip install --user python-language-server[all] pyls-isort pyls-mypy pyls-black
Lets install them locally for our user.
#+BEGIN_SRC fish :noweb yes