Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

sileht/flake8-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

‼️ I don't use this anymore, prefer ruff/ruff-lsp ‼️

flake8-ls: super fast flake8 language server

Its preload flake8 and its plugins only once.

It supports diagnostics only.

Status

It works but plugins are loaded when the language server start. So if you use the same langauge for files from different projects, you may have trouble if they configuration/plugins are not indentic. That the compromise to be so fast.

Install

$ pip install --user flake8-ls

vim-lspconfig

lua << EOF
require("lspconfig.configs")["flake8ls"] = {
    default_config = {
        cmd = { 'flake8-ls' },
        filetypes = { 'python' },
        root_dir = lspconfig.util.root_pattern('pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt', 'Pipfile'),
        single_file_support = true,
    },
}
require("lspconfip").flake8ls.setup({})
EOF

About

super fast flake8 language server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages