Pyright extension for coc.nvim
:CocInstall coc-pyright
pyright.organizeimports
: Organize importspyright.createtypestub
: Creates Type Stubs with given module name, for example:CocCommand pyright.createtypestub numpy
python.analysis.autoSearchPaths
: Automatically add common search paths like 'src', default:true
python.analysis.diagnosticMode
: Analyzes and reports errors for open only or all files in workspace, default:openFilesOnly
python.analysis.stubPath
: Path to directory containing custom type stub files, default:""
python.analysis.typeshedPaths
: Paths to look for typeshed modules, default:[]
python.analysis.diagnosticSeverityOverrides
: Override the severity levels for individual diagnostics, default:{}
python.pythonPath
: Path to Python, default:python
python.venvPath
: Path to folder with a list of Virtual Environments, default:""
pyright.typeCheckingMode
: Defines the default rule set for type checking, default:basic
pyright.disableCompletion
: Disables completion only, left other LSP features work, default:false
pyright.disableLanguageServices
: Disables type completion, definitions and references, default:false
pyright.disableOrganizeImports
: Disables theOrganize Imports
command, default:false
pyright.typeCheckingMode
: Defines the default rule set for type checking, default:basic
pyright.useLibraryCodeForTypes
: Use library implementations to extract type information, default:false
See Pyright Settings for more configurations.
Pyright supports configuration files that provide granular control over settings. For more details, refer to the README on the Pyright GitHub site.
MIT
This extension is created by create-coc-extension