1
0
Fork 0

install-pylsp

This commit is contained in:
Adrien Abraham 2022-08-18 11:10:14 +02:00
parent b7674788a8
commit 48ed29efb5

13
install-pylsp.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
pip3 install python-lsp-server
ask_install() {
packages="$@"
read -p "Install $packages? [y/n] " -n 1 -r ; echo
[[ "$REPLY" = y ]] && pip3 install $packages
}
ask_install pyflakes
ask_install black python-lsp-black
ask_install mypy pylsp-mypy