Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

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

Bnyro3a382cb3f39e
diff --git a/.helix/languages.toml b/.helix/languages.toml
index 34b7be5cb..5d83dcf32 100644
--- a/.helix/languages.toml
+++ b/.helix/languages.toml
@@ -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