{"repo":"fannheyward/coc-pyright","free":true,"listed":false,"github":"https://github.com/fannheyward/coc-pyright","clone":"git clone https://github.com/fannheyward/coc-pyright.git","description":"Pyright extension for coc.nvim","language":"TypeScript","stars":1361,"topics":["coc","python","pyright","coc-extensions"],"license":"MIT","category":"dev-tools","readme_excerpt":"coc-pyright Pyright extension for coc.nvim, with additional features: - semanticTokens highlighting! - inlayHints supports - codeActions to add imports, ignore typing check, run tests and more - linting with bandit , flake8 , mypy , ruff , prospector , pycodestyle , pydocstyle , pyflakes , pylama , pylint , pytype - formatting with ruff , yapf , black , autopep8 , darker , blackd , pyink - testing with unittest or pytest , supports codeLens - sort imports with ruff , isort and pyright - extract method and variables with rope Install :CocInstall coc-pyright Note: Pyright may not work as expected if can't detect project root correctly, check #521 and Using workspaceFolders in coc.nvim. Commands - python.runLinting : Run linting - python.sortImports : Sort imports by isort or ruff - pyright.version : Show the currently used Pyright version - pyright.organizeimports : Organize imports by Pyright - pyright.restartserver : This command forces the type checker to discard all of its cached type information and restart analysis. It is useful in cases where new type stubs or libraries have been installed. - pyright.createtypestub : Creates Type Stubs with given module name, for example :CocCommand pyright.createtypestub numpy - pyright.fileTest : Run test for current test file - pyright.singleTest : Run test for single nearest test Configurations These configurations are used by coc-pyright , you need to set them in your coc-settings.json . Configuration Description Default -----------","default_branch":null,"files":null,"tree":[],"storefront":"/r/fannheyward","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fannheyward/coc-pyright/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}