Skip to content

Commit 81ce511

Browse files
authored
Swift: add pre-commit to codespace
1 parent 52ee4d4 commit 81ce511

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.devcontainer/swift/user.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ echo "--search-path /workspaces/codeql" > /home/vscode/.config/codeql/config
88
cd /workspaces/codeql
99
bazel run swift/create-extractor-pack
1010

11+
#install and set up pre-commit
12+
python3 -m pip install pre-commit
13+
pre-commit install
14+
1115
cat >> $HOME/.bashrc << EOF
1216
1317
# have the codeql binary installed by vscode automatically in PATH

0 commit comments

Comments
 (0)