[chore] helix config: enable pyling and use black via pylsp

This commit is contained in:
Bnyro
2026-06-11 11:01:00 +02:00
parent 9d9d605b15
commit 3a382cb3f3
+8 -7
View File
@@ -1,10 +1,11 @@
[[language]] [[language]]
name = "python" name = "python"
language-servers = ["basedpyright", "pylsp"] language-servers = ["basedpyright", "pylsp"]
formatter = { command = "black", args = [ auto-format = true
"--target-version",
"py311", [language-server.pylsp.config.pylsp]
"--line-length", plugins.pylint.enabled = true
"120", plugins.isort.enabled = true
"--skip-string-normalization", plugins.black.enabled = true
] } plugins.black.skip_string_normalization = true
plugins.black.line_length = 120