mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-11 14:14:19 -07:00
Check in VSCode config for easier local debug (#487)
* Fixes #466 - Task: Check in VSCode config for easier local debug
This commit is contained in:
parent
73a205dc48
commit
6c986adfe4
4 changed files with 152 additions and 14 deletions
71
data/data-pipeline/.vscode/launch.json
vendored
Normal file
71
data/data-pipeline/.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Score Run",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["score-run"]
|
||||
},
|
||||
{
|
||||
"name": "Data Cleanup",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["data-cleanup"]
|
||||
},
|
||||
{
|
||||
"name": "Census Cleanup",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["census-cleanup"]
|
||||
},
|
||||
{
|
||||
"name": "Download Census",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["census-data-download"]
|
||||
},
|
||||
{
|
||||
"name": "Score Full Run",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["score-full-run"]
|
||||
},
|
||||
{
|
||||
"name": "Generate Map Tiles",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["generate-map-tiles"]
|
||||
},
|
||||
{
|
||||
"name": "ETL Run",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "data_pipeline.application",
|
||||
"args": ["etl-run"]
|
||||
},
|
||||
{
|
||||
"name": "poetry install",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "poetry",
|
||||
"args": ["install"]
|
||||
},
|
||||
{
|
||||
"name": "poetry update",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "poetry",
|
||||
"args": ["update"]
|
||||
}
|
||||
]
|
||||
}
|
10
data/data-pipeline/.vscode/settings.json
vendored
Normal file
10
data/data-pipeline/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"python.formatting.provider": "black",
|
||||
"python.linting.enabled": true,
|
||||
"python.linting.flake8Enabled": true,
|
||||
"python.linting.pylintEnabled": true,
|
||||
"python.testing.pytestEnabled": true,
|
||||
"python.testing.pytestArgs": ["-s", "."],
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.nosetestsEnabled": false
|
||||
}
|
34
data/data-pipeline/.vscode/tasks.json
vendored
Normal file
34
data/data-pipeline/.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "test with tox",
|
||||
"type": "shell",
|
||||
"command": "tox",
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run Black Formatter",
|
||||
"type": "shell",
|
||||
"command": "black",
|
||||
"args": ["data_pipeline"]
|
||||
},
|
||||
{
|
||||
"label": "Run Flake8 Style Enforcer",
|
||||
"type": "shell",
|
||||
"command": "black",
|
||||
"args": ["data_pipeline"]
|
||||
},
|
||||
{
|
||||
"label": "Run Pylint",
|
||||
"type": "shell",
|
||||
"command": "pylint",
|
||||
"args": ["data_pipeline"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue