{ "version": "2.0.0", "tasks": [ { "label": "Pytest", "type": "shell", "command": "pytest", "dependsOn": ["Install all Test Requirements"], "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" }, "problemMatcher": [] }, { "label": "Flake8", "type": "shell", "command": "flake8 --statistics --show-source --count --select=E9,F63,F7,F82 --max-complexity=10 --max-line-length=127", "dependsOn": ["Install all Test Requirements"], "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" }, "problemMatcher": [] }, { "label": "Pylint", "type": "shell", "command": "python3.10 -m pylint flux_led", "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" }, "problemMatcher": [] }, { "label": "Code Coverage", "detail": "Generate code coverage report", "type": "shell", "command": "pytest --cov=flux_led --cov-report term-missing", "group": { "kind": "test", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" }, "problemMatcher": [] }, { "label": "Install all Test Requirements", "type": "shell", "command": "pip3 install -r requirements_test.txt", "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" }, "problemMatcher": [] }, { "label": "Install all Requirements", "type": "shell", "command": "pip3 install -r requirements.txt", "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "new" }, "problemMatcher": [] } ] }