You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(delphi): standardize venv as .venv and add Pyright config (#2560)
Editor language servers (Pyright, Pylance, VS Code, Cursor, Claude Code LSP)
auto-discover `.venv` but not the previous `delphi-env`, so opening the
project produced a flood of "missing import" errors for both third-party and
first-party modules. Switch to the conventional `.venv` name and add
`[tool.pyright]` to `delphi/pyproject.toml` so source roots, the venv
location, and the Python version are explicit.
The Pyright config lives inside `delphi/`, but editors look at the workspace
root. To bridge that, `make venv` now also creates `polis/.venv → delphi/.venv`
when the root symlink is absent, so opening Claude Code / VS Code / Cursor at
the repo root finds the interpreter too. The invariant is documented in
`delphi/CLAUDE.md`.
Migration if you have an existing `delphi-env/` you want to keep:
ln -sfn delphi-env delphi/.venv
`TESTING_LOG.md` left as-is (historical log of past actions, not setup docs).
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -269,6 +269,8 @@ You can specify these `-f docker-compose.yml -f docker-compose.dev.yml` argument
269
269
You can create your own `docker-compose.x.yml` file as an overlay and add or modify any values you need to differ
270
270
from the defaults found in the `docker-compose.yml` file and pass it as the second argument to the `docker compose -f` command above.
271
271
272
+
To work on the **delphi** Python ML service outside Docker (run tests locally, get a working language server in your editor, etc.), see [`delphi/README.md`](/delphi/README.md#local-python-development).
273
+
272
274
### Testing
273
275
274
276
We use Cypress for automated, end-to-end browser testing for PRs on GitHub (see badge above).
0 commit comments