diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d76fc7489..c8444ed39 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -41,7 +41,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "git submodule update --init && pip3 install --user -e .[dev]", + "postCreateCommand": "git submodule update --init && pip3 install --user -e .[dev] && pre-commit install", // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode",