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]]
|
[[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
|
||||||
|
|||||||
Reference in New Issue
Block a user