From 385ff70b4ccfda450b00d507e5179dbd7c55d7c3 Mon Sep 17 00:00:00 2001 From: Bar Hochman Date: Thu, 31 Mar 2022 14:15:47 +0300 Subject: [PATCH] env: fixed devcontainer --- .devcontainer/devcontainer.json | 2 +- Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bc656e1..4b34505 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -42,7 +42,7 @@ // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "poetry install", - "postAttachCommand": "poetry shell", + // "postAttachCommand": "poetry shell", // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", "features": { diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4e9273d --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +test: ## Run the tests in current environment + pytest tests/ --verbose