mirror of
https://github.com/samjage/metro-warden.git
synced 2026-06-06 03:00:41 +00:00
Initial commit: Metro Warden TUI network operations center
This commit is contained in:
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"recommendations": [
|
||||
// Python
|
||||
"ms-python.python",
|
||||
"ms-python.black-formatter",
|
||||
"ms-python.pylint",
|
||||
|
||||
// Better error highlighting and type checking
|
||||
"ms-pyright.pyright",
|
||||
|
||||
// Git decorations in the gutter
|
||||
"eamodio.gitlens",
|
||||
|
||||
// Colored indent guides — crucial for reading Python
|
||||
"oderwat.indent-rainbow",
|
||||
|
||||
// Highlight TODO/FIXME/HACK comments
|
||||
"gruntfuss.vscode-phpdoc-comment-snippets",
|
||||
"wayou.vscode-todo-highlight",
|
||||
|
||||
// TOML support (config/defaults.toml)
|
||||
"tamasfe.even-better-toml"
|
||||
]
|
||||
}
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Run Metro Warden",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/main.py",
|
||||
"python": "${workspaceFolder}/.venv/bin/python",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true
|
||||
},
|
||||
{
|
||||
"name": "Run Tests",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "pytest",
|
||||
"python": "${workspaceFolder}/.venv/bin/python",
|
||||
"args": ["-v"],
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
||||
"python.terminal.activateEnvironment": true,
|
||||
|
||||
// Format on save with black
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.rulers": [100]
|
||||
},
|
||||
|
||||
// Textual CSS gets syntax highlighting as plain CSS
|
||||
"[tcss]": {
|
||||
"editor.defaultFormatter": "vscode.css-language-features"
|
||||
},
|
||||
"files.associations": {
|
||||
"*.tcss": "css"
|
||||
},
|
||||
|
||||
// Keep the explorer clean
|
||||
"files.exclude": {
|
||||
"**/__pycache__": true,
|
||||
"**/*.pyc": true,
|
||||
".venv": true,
|
||||
"*.egg-info": true
|
||||
},
|
||||
|
||||
// Terminal opens in project root
|
||||
"terminal.integrated.cwd": "${workspaceFolder}",
|
||||
|
||||
// Font that makes the TUI source code feel right
|
||||
"editor.fontFamily": "'JetBrains Mono', 'Fira Code', monospace",
|
||||
"editor.fontLigatures": true,
|
||||
"editor.fontSize": 14,
|
||||
"editor.lineHeight": 1.6,
|
||||
|
||||
// Show whitespace so indentation errors are obvious in Python
|
||||
"editor.renderWhitespace": "boundary",
|
||||
|
||||
// Dark theme that won't clash with spending time in the TUI
|
||||
"workbench.colorTheme": "Default Dark Modern",
|
||||
|
||||
"editor.minimap.enabled": false,
|
||||
"breadcrumbs.enabled": true,
|
||||
"explorer.compactFolders": false
|
||||
}
|
||||
Reference in New Issue
Block a user