Skip to content

Commit

Permalink
add settings (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos authored Jan 24, 2024
1 parent 3dc4d16 commit 6c03d3b
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 3 deletions.
34 changes: 33 additions & 1 deletion .devcontainer/codeforlife-package-python/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,39 @@
"vscode": {
//TODO: Specify preferred settings and extensions once defined
"settings": {
"python.defaultInterpreterPath": ".venv/bin/python"
"python.defaultInterpreterPath": ".venv/bin/python",
"autoDocstring.customTemplatePath": ".vscode/extensions/autoDocstring/docstring.mustache",
"files.exclude": {
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/.mypy_cache": true,
"**/.hypothesis": true
},
"editor.tabSize": 2,
"editor.rulers": [
80
],
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"workbench.colorCustomizations": {
"editorRuler.foreground": "#008000"
},
"[md]": {
"editor.tabSize": 4
},
"[python]": {
"editor.tabSize": 4,
"editor.defaultFormatter": "ms-python.black-formatter",
},
"cSpell.words": [
"codeforlife",
"klass",
"ocado",
"kurono",
"pipenv"
]
},
"extensions": [
"github.vscode-pull-request-github",
Expand Down
36 changes: 34 additions & 2 deletions .devcontainer/codeforlife-portal-react/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"shutdownAction": "none",
"workspaceFolder": "/workspace/codeforlife-portal-react",
"remoteUser": "root",
"postCreateCommand": "./setup.sh",
"postCreateCommand": "./setup",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"version": "3.8",
Expand All @@ -24,7 +24,39 @@
"vscode": {
//TODO: Specify preferred settings and extensions once defined
"settings": {
"python.defaultInterpreterPath": "backend/.venv/bin/python"
"python.defaultInterpreterPath": "backend/.venv/bin/python",
"autoDocstring.customTemplatePath": ".vscode/extensions/autoDocstring/docstring.mustache",
"files.exclude": {
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/.mypy_cache": true,
"**/.hypothesis": true
},
"editor.tabSize": 2,
"editor.rulers": [
80
],
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"workbench.colorCustomizations": {
"editorRuler.foreground": "#008000"
},
"[md]": {
"editor.tabSize": 4
},
"[python]": {
"editor.tabSize": 4,
"editor.defaultFormatter": "ms-python.black-formatter",
},
"cSpell.words": [
"codeforlife",
"klass",
"ocado",
"kurono",
"pipenv"
]
},
"extensions": [
"github.vscode-pull-request-github",
Expand Down

0 comments on commit 6c03d3b

Please sign in to comment.