[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:
Lucien Cartier-Tilet 2020-10-01 18:21:30 +02:00
parent 05c85ed9dd
commit d6fa32a202
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 6 additions and 5 deletions

View File

@ -93,7 +93,7 @@ ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine typescript \
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ typescript-language-server-bin unicode-emoji unrar usbutils valgrind \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \ 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" printf "\n# Installing needed packages ##################################################\n\n"
sudo pacman -Syu sudo pacman -Syu
@ -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 pip install --user 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

@ -266,7 +266,7 @@
typescript-language-server-bin unicode-emoji unrar usbutils valgrind \ typescript-language-server-bin unicode-emoji unrar usbutils valgrind \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \ 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 #+END_SRC
These are the minimum I would have in my own installation. You can edit it 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-isort | Import sortings for LSP |
| pyls-mypy | Mypy linter for LSP | | 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]
@ -709,8 +710,8 @@
(s-join " " packages)) (s-join " " packages))
#+END_SRC #+END_SRC
#+RESULTS[949734d540debf625c0067b0b129d630260f1cb1]: #+RESULTS[d368dd4fa0df32b06cf27cb047ea3565777ffce6]: python-packages-gen
: pip install --user pyls-isort pyls-mypy : pip install --user 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