Skip to content

Commit

Permalink
Update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
daizutabi committed Jan 21, 2025
1 parent 761a1a7 commit 0cce609
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"extensions": [
"charliermarsh.ruff",
"fill-labs.dependi",
"markis.code-coverage",
"ms-python.python",
"ms-python.vscode-pylance",
"tamasfe.even-better-toml"
Expand Down
7 changes: 4 additions & 3 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ mkdir -p ~/.config
cp .devcontainer/starship.toml ~/.config

curl -LsSf https://astral.sh/uv/install.sh | sh
curl -LsSf https://astral.sh/ruff/install.sh | sh
source $HOME/.cargo/env
echo 'eval "$(uv generate-shell-completion bash)"' >> ~/.bashrc
echo 'eval "$(uv generate-shell-completion bash)"' >> ~/.bashrc
uv tool install ruff@latest
uv python install
uv sync -U

0 comments on commit 0cce609

Please sign in to comment.