[Bootstrap] Remove yapf package, add pyls-black python package
`pyls-black' is a new requirement for a proper LSP Python server, and it is incompatible with `yapf', hence its removal.
This commit is contained in:
parent
05c85ed9dd
commit
d6fa32a202
@ -93,7 +93,7 @@ ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \
|
||||
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \
|
||||
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
|
||||
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
|
||||
xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf zeal
|
||||
xorg-xinit xss-lock xvkbd yaml-language-server-bin zeal
|
||||
|
||||
printf "\n# Installing needed packages ##################################################\n\n"
|
||||
sudo pacman -Syu
|
||||
@ -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
|
||||
pip install --user pyls-isort pyls-mypy pyls-black
|
||||
|
||||
printf "\n# Setting up Chicken ##########################################################\n\n"
|
||||
chicken-install -s apropos chicken-doc
|
||||
|
@ -266,7 +266,7 @@
|
||||
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \
|
||||
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
|
||||
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
|
||||
xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf zeal
|
||||
xorg-xinit xss-lock xvkbd yaml-language-server-bin zeal
|
||||
#+END_SRC
|
||||
|
||||
These are the minimum I would have in my own installation. You can edit it
|
||||
@ -702,6 +702,7 @@
|
||||
|------------+-------------------------|
|
||||
| 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]
|
||||
@ -709,8 +710,8 @@
|
||||
(s-join " " packages))
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS[949734d540debf625c0067b0b129d630260f1cb1]:
|
||||
: pip install --user pyls-isort pyls-mypy
|
||||
#+RESULTS[d368dd4fa0df32b06cf27cb047ea3565777ffce6]: python-packages-gen
|
||||
: pip install --user 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