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
{{ message }}
Repository navigation
[FEATURE]: Built-in flag-gated Ruff LSP server (parity with the existing ty LSP) #38226
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Follow-up to #5345, which was auto-closed for inactivity (the bot suggested opening a fresh one).
opencode already ships ty as a built-in Python LSP behind an experimental flag (experimentalLspTy in packages/opencode/src/lsp/server.ts), but there is no built-in ruff server counterpart — Ruff is wired up only as a formatter. Astral's own guidance is to run ty + ruff together (ty for types, ruff for lint + quick-fixes / import fixing), so the built-in Python LSP support is currently half-complete.
Proposal: add a flag-gated ruff LSP that mirrors the existing Ty server exactly and runs alongside pyright/ty rather than replacing them (same way eslint runs next to typescript):
new Ruff entry in lsp/server.ts, extensions .py/.pyi, launched via ruff server
I know this is achievable today via custom lsp config, and there were prior stale PRs (#9126, #14850). Filing this mainly to confirm whether a first-class, ty-symmetric built-in is wanted before I open a PR — happy to implement it if so.
Activity
github-actions commentedon Sep 22, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
ci: guard every inherited workflow to upstream, and refuse cross-repo…
ci: guard every inherited workflow to upstream, and enforce it in CI (#…