From 41c98b3b411139416135c766dd224d4c247b58e3 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Tue, 9 Jun 2026 20:39:49 +0200 Subject: [PATCH] [chore] devops: add languages config for helix editor The default Helix configuration for Python is different, so the pylint warnings aren't shown and the formatter re-formats files by accident when you edit an existing file. Therefore, this commit adds `python` language configuration to ease developing SearXNG with Helix Editor [^1]. [^1]: https://helix-editor.com --- .helix/languages.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .helix/languages.toml diff --git a/.helix/languages.toml b/.helix/languages.toml new file mode 100644 index 000000000..34b7be5cb --- /dev/null +++ b/.helix/languages.toml @@ -0,0 +1,10 @@ +[[language]] +name = "python" +language-servers = ["basedpyright", "pylsp"] +formatter = { command = "black", args = [ + "--target-version", + "py311", + "--line-length", + "120", + "--skip-string-normalization", +] }