pip install python-lsp-ruff There also exists anAUR package. Ruff version0.1.0introduced API changes that are fixed in Python LSP Ruffv1.6.0. To continue withruff<0.1.0please usev1.5.3, e.g. usingpip: This plugin will disablepycodestyle,pyflakes,mccabe,autopep8, andyapfby default, unles...
writing python_lsp_ruff.egg-info/PKG-INFO writing dependency_links to python_lsp_ruff.egg-info/dependency_links.txt writing entry points to python_lsp_ruff.egg-info/entry_points.txt writing requirements to python_lsp_ruff.egg-info/requires.txt writing top-level names to python_lsp_ruff.egg-in...
But that also makes python-lsp-ruff ignore local ruff.toml, which I expected would take precedence over the default ~/.dotfiles/ruff.toml. Is that desired? Or should the presence of a local config file override not only select, exclude, and others, but also config? Member jhossbach ...
It's my view thatruff-lspcan provide a nicer user experience thanpylspmostly becauseruffis very fast (written in Rust), so why notswitch to it by default?Configuration for Helix is available here.
-- LSP Server to use for Python. -- Set to "basedpyright" to use basedpyright instead of pyright. vim.g.lazyvim_python_lsp = "pyright" vim.g.lazyvim_python_ruff = "ruff_lsp" -- Set to "ruff_lsp" to use the old LSP implementation version. vim.g.lazyvim_python_ruff = "ruff"...