From 8fdd095dabf85886dedbac7a465a0074c6be6d92 Mon Sep 17 00:00:00 2001 From: dotvav Date: Sun, 1 Dec 2024 21:43:09 +0100 Subject: [PATCH] Add pre-commit VSCode task (#131637) --- .vscode/tasks.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 2b02916a73e..1f95c5eef8f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -56,6 +56,20 @@ }, "problemMatcher": [] }, + { + "label": "Pre-commit", + "type": "shell", + "command": "pre-commit run --show-diff-on-failure", + "group": { + "kind": "test", + "isDefault": true + }, + "presentation": { + "reveal": "always", + "panel": "new" + }, + "problemMatcher": [] + }, { "label": "Pylint", "type": "shell",