mirror of
https://github.com/searxng/searxng.git
synced 2026-06-11 20:37:51 +02:00
[chore] helix config: enable pyling and use black via pylsp
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
[[language]]
|
||||
name = "python"
|
||||
language-servers = ["basedpyright", "pylsp"]
|
||||
formatter = { command = "black", args = [
|
||||
"--target-version",
|
||||
"py311",
|
||||
"--line-length",
|
||||
"120",
|
||||
"--skip-string-normalization",
|
||||
] }
|
||||
auto-format = true
|
||||
|
||||
[language-server.pylsp.config.pylsp]
|
||||
plugins.pylint.enabled = true
|
||||
plugins.isort.enabled = true
|
||||
plugins.black.enabled = true
|
||||
plugins.black.skip_string_normalization = true
|
||||
plugins.black.line_length = 120
|
||||
|
||||
Reference in New Issue
Block a user