Re-enable displaying type errors in pyrefly (#5046)
CI / Build (push) Canceled after 0s
CI / Neovim 0.10 Windows (push) Canceled after 0s
CI / Neovim 0.12 Windows (push) Canceled after 0s
CI / Vim 8.2 Windows (push) Canceled after 0s
CI / Vim 9.2 Windows (push) Canceled after 0s
CI / Lint (push) Canceled after 0s
CI / Lua (push) Canceled after 0s
CI / Neovim 0.10 Linux (push) Canceled after 0s
CI / Neovim 0.12 Linux (push) Canceled after 0s
CI / Vim 8.2 Linux (push) Canceled after 0s
CI / Vim 9.2 Linux (push) Canceled after 0s

* Re-enable displaying type errors in pyrefly

* Add test

* clarify the disabled by default statement

* Address linter issue

* Properly align doc tags
This commit is contained in:
sivel / Matt Martz
2026-08-19 10:58:10 +09:00
committed by GitHub
parent 42d1062011
commit 0aa1ea11e0
3 changed files with 39 additions and 0 deletions
+7
View File
@@ -67,3 +67,10 @@ Execute(uv is detected when python_pyrefly_auto_uv is set):
AssertLinter 'uv',
\ ale#Escape('uv') . ' run pyrefly lsp'
Execute(Assert the default config):
AssertLSPConfig {'python': {'pyrefly': {'displayTypeErrors': 'force-on'}}}
let b:ale_python_pyrefly_config = {}
AssertLSPConfig {}