From 314f891779121de790ce9b749ed5e49de270e4d7 Mon Sep 17 00:00:00 2001 From: Mandar Patil Date: Fri, 9 Aug 2024 16:49:18 -0700 Subject: [PATCH] Dev config improvements (#255) --- .devcontainer/devcontainer.json | 6 ++++-- .gitignore | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 82f69a2f..d5a64b3d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -43,9 +43,11 @@ } } }, - + "remoteUser": "vscode", "postCreateCommand": "uv venv && . .venv/bin/activate && uv pip install -r requirements-test.txt && git config commit.gpgsign true", "mounts": [ - "source=${localEnv:HOME}${localEnv:USERPROFILE}/.gnupg,target=/home/vscode/.gnupg,type=bind,consistency=cached" + "source=${localEnv:HOME}${localEnv:USERPROFILE}/.gnupg,target=/home/vscode/.gnupg,type=bind,consistency=cached", + "source=${localWorkspaceFolder}/.cache,target=/home/vscode/.cache,type=bind,consistency=cached", + "source=${localWorkspaceFolder}/.vscode-server,target=/home/vscode/.vscode-server,type=bind,consistency=cached" ] } \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3e617748..417507f3 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ htmlcov/ .coverage .coverage.* .cache +.vscode-server nosetests.xml coverage.xml *.cover