| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {
- "version": "2.0.0",
- "tasks": [
- {
- "label": "Install requirements",
- "type": "shell",
- "command": "pip3 install -r requirements-first.txt;pip3 install -r requirements-dev.txt",
- "problemMatcher": []
- },
- {
- "label": "Run Home Assistant on port 8123",
- "type": "shell",
- "command": "pkill hass;container start",
- "problemMatcher": []
- },
- {
- "label": "Run Home Assistant configuration against /config",
- "type": "shell",
- "command": "container check",
- "problemMatcher": []
- },
- {
- "label": "Upgrade Home Assistant to latest dev",
- "type": "shell",
- "command": "container install",
- "problemMatcher": []
- },
- {
- "label": "Install a specific version of Home Assistant",
- "type": "shell",
- "command": "container set-version",
- "problemMatcher": []
- },
- {
- "label": "Unit tests",
- "type": "shell",
- "command": "pytest --cov=. --cov-config=.coveragerc --cov-report xml:coverage.xml",
- "problemMatcher": []
- },
- {
- "label": "Reformat code",
- "type": "shell",
- "command": "isort --recursive . && black .",
- "problemMatcher": []
- }
- ]
- }
|