mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-23 01:54:52 +02:00
[Haik]: ckpt, nine router now runs on different ports for dev vs prod. Also made a custom linter to enforce my standards
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"python.analysis.typeCheckingMode": "strict",
|
||||
"python.analysis.include": ["backend"],
|
||||
"python.analysis.exclude": [
|
||||
"backend/.venv",
|
||||
"backend/uv-bin",
|
||||
"backend/data",
|
||||
"backend/tests"
|
||||
],
|
||||
"python.analysis.diagnosticSeverityOverrides": {
|
||||
"reportMissingTypeStubs": "none"
|
||||
}
|
||||
}
|
||||
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "structlint:watch",
|
||||
"type": "shell",
|
||||
"command": "python3",
|
||||
"args": ["${workspaceFolder}/linter/structlint.py", "--watch", "--root", "${workspaceFolder}"],
|
||||
"isBackground": true,
|
||||
"runOptions": {
|
||||
"runOn": "folderOpen"
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "never",
|
||||
"panel": "dedicated",
|
||||
"close": true
|
||||
},
|
||||
"problemMatcher": {
|
||||
"owner": "structlint",
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"pattern": {
|
||||
"regexp": "^(.+):(\\d+):(\\d+):\\s+(error|warning):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"severity": 4,
|
||||
"message": 5
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "^structlint: checking\\.\\.\\.$",
|
||||
"endsPattern": "^structlint: done\\."
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "structlint:check",
|
||||
"type": "shell",
|
||||
"command": "python3",
|
||||
"args": ["${workspaceFolder}/linter/structlint.py", "--root", "${workspaceFolder}"],
|
||||
"problemMatcher": {
|
||||
"owner": "structlint",
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"pattern": {
|
||||
"regexp": "^(.+):(\\d+):(\\d+):\\s+(error|warning):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"severity": 4,
|
||||
"message": 5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user