Repository navigation
Expand file tree
/
Copy pathdevcontainer.json
More file actions
60 lines (60 loc) · 2.11 KB
/
Copy pathdevcontainer.json
File metadata and controls
60 lines (60 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "Python with UV and Ruff",
"build": {
"dockerfile": "Dockerfile",
"context": "."
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.debugpy",
"charliermarsh.ruff",
"ms-python.mypy-type-checker",
"tamasfe.even-better-toml",
"github.copilot",
"github.copilot-chat",
"bierner.markdown-mermaid",
"github.vscode-pull-request-github",
"eamodio.gitlens",
"ms-azuretools.vscode-containers",
"GitHub.github-vscode-theme",
"GitHub.remotehub",
"GitHub.codespaces",
"ms-vscode-remote.remote-containers",
"catppuccin.catppuccin-vsc-pack",
"enkia.tokyo-night"
],
"settings": {
"workbench.colorTheme": "Catppuccin Frappé",
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.terminal.activateEnvironment": true,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
}
},
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "strict",
"python.analysis.autoImportCompletions": true,
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.variableTypes": true,
"ruff.enable": true,
"ruff.organizeImports": true,
"ruff.fixAll": true,
"mypy-type-checker.importStrategy": "fromEnvironment",
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"files.autoSave": "onFocusChange",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
}
},
"postCreateCommand": "mkdir -p .vscode src tests && uv sync --all-extras --dev && uv run pre-commit install && git config --global user.name 'untype' && git config --global user.email '[email protected]'",
"remoteUser": "root"
}