install-pylsp
This commit is contained in:
parent
b7674788a8
commit
48ed29efb5
13
install-pylsp.sh
Executable file
13
install-pylsp.sh
Executable 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
|
Loading…
Reference in a new issue