Making Pytest default for VS code (#53203)

This commit is contained in:
Simone Chemelli 2021-07-22 18:30:54 +02:00 committed by GitHub
parent 74023fce21
commit b2528e97b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

13
.vscode/tasks.json vendored
View File

@ -5,10 +5,7 @@
"label": "Run Home Assistant Core", "label": "Run Home Assistant Core",
"type": "shell", "type": "shell",
"command": "hass -c ./config", "command": "hass -c ./config",
"group": { "group": "test",
"kind": "test",
"isDefault": true
},
"presentation": { "presentation": {
"reveal": "always", "reveal": "always",
"panel": "new" "panel": "new"
@ -19,7 +16,9 @@
"label": "Pytest", "label": "Pytest",
"type": "shell", "type": "shell",
"command": "pytest --timeout=10 tests", "command": "pytest --timeout=10 tests",
"dependsOn": ["Install all Test Requirements"], "dependsOn": [
"Install all Test Requirements"
],
"group": { "group": {
"kind": "test", "kind": "test",
"isDefault": true "isDefault": true
@ -48,7 +47,9 @@
"label": "Pylint", "label": "Pylint",
"type": "shell", "type": "shell",
"command": "pylint homeassistant", "command": "pylint homeassistant",
"dependsOn": ["Install all Requirements"], "dependsOn": [
"Install all Requirements"
],
"group": { "group": {
"kind": "test", "kind": "test",
"isDefault": true "isDefault": true