Add pre-commit VSCode task (#131637)

pull/132026/head
dotvav 2024-12-01 21:43:09 +01:00 committed by GitHub
parent 36ca4e8866
commit 8fdd095dab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

14
.vscode/tasks.json vendored
View File

@ -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",