From 11d3b02107395b4c29e6a8a006e5ced23ef3c7b7 Mon Sep 17 00:00:00 2001 From: Keming Date: Sat, 12 Aug 2023 10:54:22 +0800 Subject: [PATCH] add ruff, gh Signed-off-by: Keming --- base.sh | 2 +- py.sh | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/base.sh b/base.sh index fbf411e..97eed1f 100644 --- a/base.sh +++ b/base.sh @@ -3,5 +3,5 @@ set -euo pipefail # Debian apt-get update -apt-get install -y curl wget git +apt-get install -y --no-install-recommends curl wget git build-essential apt-get autoremove diff --git a/py.sh b/py.sh index ca19379..572ee49 100644 --- a/py.sh +++ b/py.sh @@ -9,10 +9,8 @@ mkdir -p /opt/conda sudo chown $(whoami):$(whoami) /opt/conda sh /tmp/${CONDA} -b -u -p /opt/conda /opt/conda/bin/conda init -. ${HOME}/.bashrc # related libraries -/opt/conda/bin/conda install -y -c conda-forge bat ripgrep exa fd-find starship -pip install httpie flake8 black isort autoflake ipython +/opt/conda/bin/conda install -y -c conda-forge bat ripgrep exa fd-find starship gh +pip install httpie ruff black ipython mkdir -p ${HOME}/.config -cp flake8 ${HOME}/.config/