2021-08-09 14:55:13 -04:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
2021-08-24 15:40:54 -05:00
|
|
|
"label": "Test with tox",
|
2021-08-09 14:55:13 -04:00
|
|
|
"type": "shell",
|
|
|
|
"command": "tox",
|
|
|
|
"group": {
|
|
|
|
"kind": "test",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Run Black Formatter",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "black",
|
2021-08-24 15:40:54 -05:00
|
|
|
"args": [
|
|
|
|
"data_pipeline"
|
|
|
|
]
|
2021-08-09 14:55:13 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Run Flake8 Style Enforcer",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "black",
|
2021-08-24 15:40:54 -05:00
|
|
|
"args": [
|
|
|
|
"data_pipeline"
|
|
|
|
]
|
2021-08-09 14:55:13 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Run Pylint",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "pylint",
|
2021-08-24 15:40:54 -05:00
|
|
|
"args": [
|
|
|
|
"data_pipeline"
|
|
|
|
]
|
2021-09-08 14:54:38 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Upload tiles to S3",
|
|
|
|
"type": "shell",
|
2021-09-08 16:44:26 -04:00
|
|
|
"command": "aws s3 sync ./data_pipeline/data/score/tiles/ s3://justice40-data/data-pipeline/data/score/tiles --acl public-read --delete",
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new"
|
|
|
|
}
|
2021-09-08 14:54:38 -04:00
|
|
|
},
|
2021-08-09 14:55:13 -04:00
|
|
|
]
|
|
|
|
}
|