1
0
Fork 0

update Python dev tools management

This commit is contained in:
Adrien Abraham 2022-09-30 19:04:37 +02:00
parent fa03eb5aad
commit 8c021c1e15

View file

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