1
0
Fork 0
Scripts/install-pylsp.sh
2022-08-18 11:10:14 +02:00

14 lines
270 B
Bash
Executable file

#!/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