[Bootstrap] Add Python LSP packages
continuous-integration/drone/push Build is passing Details

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 rustup component add clippy
printf "\n# Installing Python packages ##################################################\n\n" 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" printf "\n# Setting up Chicken ##########################################################\n\n"
chicken-install -s apropos chicken-doc chicken-install -s apropos chicken-doc

View File

@ -698,11 +698,12 @@
Some packages will be needed from pip in order to get our Emacs setup Some packages will be needed from pip in order to get our Emacs setup
correctly working. correctly working.
#+NAME: python-packages-table #+NAME: python-packages-table
| Package | Why | | Package | Why |
|------------+-------------------------| |-----------------------------+-------------------------|
| pyls-isort | Import sortings for LSP | | python-language-server[all] | Python LSP packages |
| pyls-mypy | Mypy linter for LSP | | pyls-isort | Import sortings for LSP |
| pyls-black | Black plugin for pyls | | pyls-mypy | Mypy linter for LSP |
| pyls-black | Black plugin for pyls |
#+NAME: python-packages-gen #+NAME: python-packages-gen
#+BEGIN_SRC emacs-lisp :var packages=python-packages-table[,0] #+BEGIN_SRC emacs-lisp :var packages=python-packages-table[,0]
@ -710,8 +711,8 @@
(s-join " " packages)) (s-join " " packages))
#+END_SRC #+END_SRC
#+RESULTS[d368dd4fa0df32b06cf27cb047ea3565777ffce6]: python-packages-gen #+RESULTS[cb6abaea9d7130a67569af2b4d1a545651bf29ab]: python-packages-gen
: pip install --user pyls-isort pyls-mypy pyls-black : pip install --user python-language-server[all] pyls-isort pyls-mypy pyls-black
Lets install them locally for our user. Lets install them locally for our user.
#+BEGIN_SRC fish :noweb yes #+BEGIN_SRC fish :noweb yes