Skip to content

Commit 1002ee2

Browse files
chore(dev): replace devcontainer with uv-based local setup (#148)
* chore(dev): replace devcontainer with uv-based local setup Drop the devcontainer workflow in favor of uv-managed Python and Docker for third-party services, switch Redis to Valkey, and replace mypy with ty in tooling and VS Code recommendations. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(dev): remove unused os import in wait_valkey.py Co-authored-by: Cursor <cursoragent@cursor.com> * fix(quality): resolve ty warnings in CLI and database engine Use TypeAdapter for AnyHttpUrl validation and async_sessionmaker for async SQLAlchemy sessions, then tighten ty rules now that diagnostics are clean. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 2dfbd98 commit 1002ee2

23 files changed

Lines changed: 161 additions & 344 deletions

.devcontainer/Dockerfile

Lines changed: 0 additions & 23 deletions
This file was deleted.

.devcontainer/README.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

.devcontainer/devcontainer-lock.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

.devcontainer/post-create.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

.devcontainer/up.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@ dist
44
*.sqlite3
55
.coverage
66
coverage.xml
7-
*.csv
7+
*.csv
8+
9+
# VS Code workspace settings (recommended extensions and editor config)
10+
!.vscode/
11+
!.vscode/extensions.json
12+
!.vscode/settings.json
13+
!.vscode/launch.json

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"recommendations": [
3+
"ms-python.python",
4+
"charliermarsh.ruff",
5+
"tamasfe.even-better-toml",
6+
"astral-sh.ty",
7+
"mhutchie.git-graph"
8+
]
9+
}

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
52
"version": "0.2.0",
63
"configurations": [
7-
84
{
95
"name": "Python Debugger: FastAPI",
106
"type": "debugpy",
@@ -14,6 +10,10 @@
1410
"ecoindex.backend.main:app",
1511
"--reload"
1612
],
13+
"cwd": "${workspaceFolder}",
14+
"env": {
15+
"PYTHONPATH": "bases:components"
16+
},
1717
"jinja": true
1818
}
1919
]

0 commit comments

Comments
 (0)