Making Pytest default for VS code (#53203)
This commit is contained in:
parent
74023fce21
commit
b2528e97b6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue