Skip to content

configuring pylsp #6623

Answered by guicanat
lieskjur asked this question in Q&A
Apr 6, 2023 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

I have this and it works pretty well (disabling everything except ruff).

[[language]]
name = "python"

[language.config.pylsp.plugins]
flake8 = {enabled = false}
autopep8 = {enabled = false}
mccabe = {enabled = false}
pycodestyle = {enabled = false}
pyflakes = {enabled = false}
pylint = {enabled = false}
yapf = {enabled = false}
ruff = { enabled = true, ignore = ["F401"], lineLength = 120 }

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lieskjur
Comment options

@jpsecher
Comment options

Answer selected by kirawi
Comment options

You must be logged in to vote
4 replies
@jpsecher
Comment options

@unartig
Comment options

@kirawi
Comment options

@nandoflorestan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants