Skip to content

Commit

Permalink
Merge pull request #1677 from mandiant/fix/add-devcontainer-pre-commit
Browse files Browse the repository at this point in the history
devcontainer: install pre-commit hooks
  • Loading branch information
williballenthin committed Aug 7, 2023
2 parents dd870a5 + 6647ecb commit 5de055e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5de055e

Please sign in to comment.