feat(nvim): add some options to the pyright lsp to hide some useless info

This commit is contained in:
Sergio Laín 2024-04-16 22:33:32 +02:00
parent bd504ddd2e
commit a38588a3f5
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -35,6 +35,12 @@ return {
autoImportCompletion = true,
python = {
analysis = {
diagnosticSeverityOverrides = {
reportWildcardImportFromLibrary = "none",
reportUnusedImport = "information",
reportUnusedClass = "information",
reportUnusedFunction = "information",
},
typeCheckingMode = "strict",
autoSearchPaths = true,
useLibraryCodeForTypes = true,