Skip to content

Commit

Permalink
chore(workflow): 🎨 make changes to inital vscode environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Burling committed Apr 20, 2022
1 parent 8b18336 commit 8c0a968
Showing 1 changed file with 54 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,34 @@
"path": "."
}
],
"settings": {
"autoDocstring.customTemplatePath": "configs/docstrings.mustache",
"autoDocstring.docstringFormat": "google",
"autoDocstring.generateDocstringOnEnter": true,
"autoDocstring.guessTypes": true,
"autoDocstring.startOnNewLine": false,
"conventionalCommits.scopes": [
"pipeline",
"actions",
"loaders",
"package",
"module",
"docker"
],
"djcookiecutter.condaExec": "mamba",
"djcookiecutter.localPath": "${env:HOME}/Documents/datajoint/dj-cookiecutter",
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.hg": true,
"**/.svn": true,
"**/CVS": true,
"**/Thumbs.db": true,
"*.command": true
},
"python.defaultInterpreterPath": "${env:CONDA_ENV_ROOT}/{{cookiecutter.__pkg_import_name}}",
"python.linting.mypyEnabled": true
},
"launch": {
"version": "0.2.0",
"configurations": [
Expand Down Expand Up @@ -69,34 +97,6 @@
}
]
},
"settings": {
"autoDocstring.customTemplatePath": "configs/docstrings.mustache",
"autoDocstring.docstringFormat": "google",
"autoDocstring.generateDocstringOnEnter": true,
"autoDocstring.guessTypes": true,
"autoDocstring.startOnNewLine": false,
"conventionalCommits.scopes": [
"pipeline",
"actions",
"loaders",
"package",
"module",
"docker"
],
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.hg": true,
"**/.svn": true,
"**/CVS": true,
"**/Thumbs.db": true,
"*.command": true
},
"python.defaultInterpreterPath": "${env:CONDA_ENV_ROOT}/{{cookiecutter.__pkg_import_name}}",
"python.linting.mypyEnabled": true,
"djcookiecutter.localPath": "${env:HOME}/Documents/datajoint/dj-cookiecutter",
"djcookiecutter.condaExec": "mamba"
},
"tasks": {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
Expand Down Expand Up @@ -161,6 +161,22 @@
"--all"
]
},
{
"label": "conda remove: env",
"type": "shell",
"command": "conda",
"args": [
"run",
"--no-capture-output",
"-n",
"base",
"${config:djcookiecutter.condaExec}",
"env",
"remove",
"-n",
"{{cookiecutter.__pkg_import_name}}"
]
},
{
"label": "conda list",
"type": "shell",
Expand Down Expand Up @@ -261,19 +277,24 @@
"--all-files"
]
},
{
"label": "show recommended extensions",
"command": "${command:workbench.extensions.action.showRecommendedExtensions}"
},
{
"label": "initial setup",
"type": "shell",
"command": "echo 'run setup'",
"command": "${command:workbench.action.reloadWindow}",
"dependsOn": [
"show recommended extensions",
"conda install: environment.yml",
"pre-commit install",
"pip install dev package"
"pip install dev package",
"pre-commit install"
],
"dependsOrder": "sequence",
"options": {
"cwd": "${workspaceFolder}"
}
},
"problemMatcher": []
},
{
"label": "docker-compose up codebook",
Expand Down

0 comments on commit 8c0a968

Please sign in to comment.