chore: format code

This commit is contained in:
GitHub Action 2025-12-18 19:38:25 +00:00 committed by Aiden Cline
commit 9aabebd644
2 changed files with 15 additions and 7 deletions

View file

@ -364,7 +364,15 @@ export namespace LSPServer {
export const Ty: Info = { export const Ty: Info = {
id: "ty", id: "ty",
extensions: [".py", ".pyi"], extensions: [".py", ".pyi"],
root: NearestRoot(["pyproject.toml", "ty.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", "pyrightconfig.json"]), root: NearestRoot([
"pyproject.toml",
"ty.toml",
"setup.py",
"setup.cfg",
"requirements.txt",
"Pipfile",
"pyrightconfig.json",
]),
async spawn(root) { async spawn(root) {
if (!Flag.OPENCODE_EXPERIMENTAL_LSP_TY) { if (!Flag.OPENCODE_EXPERIMENTAL_LSP_TY) {
return undefined return undefined