|
| 1 | +{ |
| 2 | + "name": "CLDK Python SDK", |
| 3 | + "dockerFile": "Dockerfile", |
| 4 | + "context": "..", |
| 5 | + "remoteUser": "vscode", |
| 6 | + "workspaceFolder": "/python-sdk", |
| 7 | + "workspaceMount": "source=${localWorkspaceFolder},target=/python-sdk,type=bind,consistency=delegated", |
| 8 | + // "mounts": [ |
| 9 | + // "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ollama,target=/home/vscode/.ollama,type=bind,consistency=cached" |
| 10 | + // ], |
| 11 | + "runArgs": ["-h", "codellm-devkit", "--name", "python-sdk"], |
| 12 | + "customizations": { |
| 13 | + "vscode": { |
| 14 | + "settings": { |
| 15 | + "[python]": { |
| 16 | + "editor.defaultFormatter": "ms-python.black-formatter", |
| 17 | + "editor.formatOnSave": true |
| 18 | + }, |
| 19 | + "git.mergeEditor": true, |
| 20 | + "autoDocstring.docstringFormat": "google", |
| 21 | + "markdown-preview-github-styles.colorTheme": "light", |
| 22 | + "makefile.extensionOutputFolder": "/tmp", |
| 23 | + "python.terminal.activateEnvironment": true, |
| 24 | + "python.testing.unittestEnabled": false, |
| 25 | + "python.testing.pytestEnabled": true, |
| 26 | + "python.testing.pytestArgs": [ |
| 27 | + "tests" |
| 28 | + ], |
| 29 | + "cSpell.words": [ |
| 30 | + "pydantic", |
| 31 | + "pyarrow", |
| 32 | + "cldk", |
| 33 | + "Codeanalyzer", |
| 34 | + "treesitter" |
| 35 | + ], |
| 36 | + "files.exclude": { |
| 37 | + "**/.git": true, |
| 38 | + "**/.DS_Store": true, |
| 39 | + "**/*.pyc": true, |
| 40 | + "**/__pycache__": true, |
| 41 | + "**/.pytest_cache": true |
| 42 | + } |
| 43 | + }, |
| 44 | + "extensions": [ |
| 45 | + "ms-python.python", |
| 46 | + "ms-python.vscode-pylance", |
| 47 | + "ms-toolsai.jupyter", |
| 48 | + "ms-python.debugpy", |
| 49 | + "ms-python.pylint", |
| 50 | + "ms-python.flake8", |
| 51 | + "ms-python.black-formatter", |
| 52 | + "zeshuaro.vscode-python-poetry", |
| 53 | + "njpwerner.autodocstring", |
| 54 | + "wholroyd.jinja", |
| 55 | + "yzhang.markdown-all-in-one", |
| 56 | + "hnw.vscode-auto-open-markdown-preview", |
| 57 | + "davidanson.vscode-markdownlint", |
| 58 | + "bierner.markdown-preview-github-styles", |
| 59 | + "tamasfe.even-better-toml", |
| 60 | + "donjayamanne.githistory", |
| 61 | + "GitHub.vscode-pull-request-github", |
| 62 | + "hbenl.vscode-test-explorer", |
| 63 | + "LittleFoxTeam.vscode-python-test-adapter", |
| 64 | + "redhat.vscode-yaml", |
| 65 | + "ms-azuretools.vscode-docker", |
| 66 | + "streetsidesoftware.code-spell-checker" |
| 67 | + ] |
| 68 | + } |
| 69 | + }, |
| 70 | + "postCreateCommand": "sudo poetry config virtualenvs.create false && sudo poetry install; echo '---'; python3 --version; echo '---'; java -version; echo '---'; mvn --version; echo '--'; clang --version; echo '---';" |
| 71 | +} |
0 commit comments