Skip to content

Commit

Permalink
Update devcontainer and launch configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Feb 20, 2024
1 parent 790f346 commit 8fe85f7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
34 changes: 20 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,46 @@
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.debugpy",
"ms-python.autopep8",
"ms-python.flake8",
"ms-python.vscode-pylance",
"VisualStudioExptTeam.vscodeintellicode",
"GitHub.vscode-pull-request-github",
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-australian-english",
"wholroyd.jinja",
"GitHub.copilot",
"GitHub.copilot-chat"
],
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
},
"terminal.integrated.defaultProfile.linux": "bash",
"python.defaultInterpreterPath": "python",
"python.languageServer": "Pylance",
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.analysis.extraPaths": [
"/srv/app/src"
],
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"flake8.interpreter": [
"python"
],
"flake8.args": [
"--max-line-length",
"120"
"160"
],
"autopep8.interpreter": [
"python"
],
"python.formatting.provider": "autopep8",
"autopep8.args": [
"--max-line-length",
"120"
"160"
],
"cSpell.language": "en-GB",
"python.analysis.extraPaths": [
"./app/src"
]
"cSpell.language": "en-AU"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"configurations": [
{
"name": "Python: CKAN Run & Debug",
"type": "python",
"type": "debugpy",
"request": "launch",
"module": "pdb",
"args": [
Expand All @@ -23,7 +23,7 @@
},
{
"name": "Python: CKAN Jobs Worker Run & Debug",
"type": "python",
"type": "debugpy",
"request": "launch",
"module": "pdb",
"args": [
Expand All @@ -38,7 +38,7 @@
},
{
"name": "Python: CKAN CLI Command Run & Debug",
"type": "python",
"type": "debugpy",
"request": "launch",
"module": "pdb",
"args": [
Expand Down

0 comments on commit 8fe85f7

Please sign in to comment.