diff options
| author | Bnyro <bnyro@tutanota.com> | 2026-06-09 20:39:49 +0200 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2026-06-10 17:38:01 +0200 |
| commit | 41c98b3b411139416135c766dd224d4c247b58e3 (patch) | |
| tree | 92b782924cbc632b3319448e1371bf3acad28b21 /.helix | |
| parent | f4c63c8eb03db3b880a5afe986a46dc9737c72e5 (diff) | |
[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
Diffstat (limited to '.helix')
| -rw-r--r-- | .helix/languages.toml | 10 |
1 files changed, 10 insertions, 0 deletions
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", +] } |
