30 lines
435 B
Bash
Executable file
30 lines
435 B
Bash
Executable file
#! /usr/bin/bash
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
PIPX_PKGS=(
|
|
# keep-sorted start
|
|
python-lsp-server
|
|
rshell
|
|
ruff
|
|
# keep-sorted end
|
|
)
|
|
|
|
if (( "${#PIPX_PKGS[@]}" != 0 )); then
|
|
pipx install "${PIPX_PKGS[@]}"
|
|
fi
|
|
|
|
PYLSP_PLUGINS=(
|
|
# keep-sorted start
|
|
fs
|
|
podman
|
|
pydantic
|
|
pylsp-mypy
|
|
pylsp-rope
|
|
pytest
|
|
types-pyxdg
|
|
# keep-sorted end
|
|
)
|
|
|
|
pipx inject python-lsp-server "${PYLSP_PLUGINS[@]}"
|