diff --git a/lua/lsp/config/pyright.lua b/lua/lsp/config/pyright.lua index 096a3fe..87e3f74 100644 --- a/lua/lsp/config/pyright.lua +++ b/lua/lsp/config/pyright.lua @@ -4,6 +4,7 @@ local utils = require("utils") return { enable = true, mason = { "pyright" }, + dependencies = { "black", "flake8", "isort" }, linters = { { cmd = { @@ -88,6 +89,7 @@ return { autoSearchPaths = true, diagnosticMode = "openFilesOnly", useLibraryCodeForTypes = true, + typeCheckingMode = "off", }, }, },