[Bootstrap] Add Python LSP packages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
712fb54c2f
commit
81ae88c905
@ -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
|
||||
|
@ -698,11 +698,12 @@
|
||||
Some packages will be needed from pip in order to get our Emacs setup
|
||||
correctly working.
|
||||
#+NAME: python-packages-table
|
||||
| Package | Why |
|
||||
|------------+-------------------------|
|
||||
| pyls-isort | Import sortings for LSP |
|
||||
| pyls-mypy | Mypy linter for LSP |
|
||||
| pyls-black | Black plugin for pyls |
|
||||
| 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 |
|
||||
|
||||
#+NAME: python-packages-gen
|
||||
#+BEGIN_SRC emacs-lisp :var packages=python-packages-table[,0]
|
||||
@ -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
|
||||
|
||||
Let’s install them locally for our user.
|
||||
#+BEGIN_SRC fish :noweb yes
|
||||
|
Loading…
Reference in New Issue
Block a user