mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-08 19:37:34 +00:00
Upgrade python packages and add pyls-black
This commit is contained in:
parent
1dc2a9d34d
commit
1dbde430c2
@ -31,8 +31,8 @@ function install_language_servers() {
|
|||||||
# https://github.com/fwcd/kotlin-language-server/blob/master/BUILDING.md
|
# https://github.com/fwcd/kotlin-language-server/blob/master/BUILDING.md
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
maybe_run pip install --user python-language-server
|
maybe_run pip install --user --upgrade python-language-server
|
||||||
maybe_run pip3 install --user python-language-server
|
maybe_run pip3 install --user --upgrade python-language-server
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
maybe_run rustup component add rls rustfmt rust-analysis rust-src
|
maybe_run rustup component add rls rustfmt rust-analysis rust-src
|
||||||
@ -45,25 +45,25 @@ function install_linters() {
|
|||||||
echo "### Installing linters..."
|
echo "### Installing linters..."
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
maybe_run pip install --user flake8
|
maybe_run pip install --user --upgrade flake8
|
||||||
maybe_run pip install --user mypy || echo "WARNING: mypy is py3 only"
|
maybe_run pip install --user --upgrade mypy || echo "WARNING: mypy is py3 only"
|
||||||
maybe_run pip3 install --user flake8 mypy
|
maybe_run pip3 install --user --upgrade flake8 mypy
|
||||||
|
|
||||||
# CSS
|
# CSS
|
||||||
maybe_run npm install -g csslint
|
maybe_run npm install -g csslint
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
maybe_run pip install --user vim-vint
|
maybe_run pip install --user --upgrade vim-vint
|
||||||
maybe_run pip3 install --user vim-vint
|
maybe_run pip3 install --user --upgrade vim-vint
|
||||||
|
|
||||||
# YAML
|
# YAML
|
||||||
maybe_run pip install --user yamllint
|
maybe_run pip install --user --upgrade yamllint
|
||||||
maybe_run pip3 install --user yamllint
|
maybe_run pip3 install --user --upgrade yamllint
|
||||||
|
|
||||||
# Text / Markdown
|
# Text / Markdown
|
||||||
maybe_run npm install -g alex
|
maybe_run npm install -g alex
|
||||||
maybe_run pip install --user proselint
|
maybe_run pip install --user --upgrade proselint
|
||||||
maybe_run pip3 install --user proselint
|
maybe_run pip3 install --user --upgrade proselint
|
||||||
|
|
||||||
# Makefile
|
# Makefile
|
||||||
maybe_run go get -u github.com/mrtazz/checkmake
|
maybe_run go get -u github.com/mrtazz/checkmake
|
||||||
@ -78,9 +78,9 @@ function install_fixers() {
|
|||||||
maybe_run npm install -g prettier
|
maybe_run npm install -g prettier
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
maybe_run pip install --user autopep8 reorder-python-imports
|
maybe_run pip install --user --upgrade autopep8 reorder-python-imports
|
||||||
maybe_run pip install --user black || echo "WARNING: black is py3 only"
|
maybe_run pip install --user --upgrade black pyls-black || echo "WARNING: black is py3 only"
|
||||||
maybe_run pip3 install --user black autopep8 reorder-python-imports
|
maybe_run pip3 install --user --upgrade black pyls-black autopep8 reorder-python-imports
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
maybe_run rustup component add rustfmt
|
maybe_run rustup component add rustfmt
|
||||||
|
Loading…
Reference in New Issue
Block a user