feat(python): add Pyrefly language server (#911)

Pyrefly (`pyrefly lsp`) joins basedpyright, Pyright and ty as a fallback Python language server. It is installable from Tools as a managed virtualenv tool and is listed among the interchangeable type checkers, before Ruff, so Ruff still runs after them.

Pyrefly only reports type errors in projects with a Pyrefly configuration (`pyrefly.toml` or `[tool.pyrefly]`); hover, completion and navigation work without one. A real-server test (ignored by default, needs `pyrefly` on PATH) covers startup, go-to-definition and diagnostics.

Co-authored-by: pcastro93 <[email protected]>
Цей коміт міститься в:
Piettro authored and GitHub committed 2026-11-03 14:42:45 +08:00
1 джерело 038c23a2c8
коміт b55c398fb5
9 files changed
+83 -10

No files matched your search

+1
Переглянути файл
@@ -149,6 +149,7 @@ const UNTRANSLATED = new Set<string>([
"OpenIDEA",
"Spring Boot",
"PostgreSQL",
"Pyrefly",
"Pyright",
"pytest",
"Rust",