Add pre-commit VSCode task ()

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
.vscode

14
.vscode/tasks.json vendored
View File

@ -56,6 +56,20 @@
}, },
"problemMatcher": [] "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", "label": "Pylint",
"type": "shell", "type": "shell",