summaryrefslogtreecommitdiff
path: root/.helix
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2026-06-11 11:01:00 +0200
committerBnyro <bnyro@tutanota.com>2026-06-11 11:03:38 +0200
commit3a382cb3f39edbe538736af031a680f8c692321a (patch)
tree5cc5ce36c395228d5c4abed64d68c0fc846b5b3e /.helix
parent9d9d605b150dd930cea1bfbe43c29fb1162cbce8 (diff)
[chore] helix config: enable pyling and use black via pylsp
Diffstat (limited to '.helix')
-rw-r--r--.helix/languages.toml15
1 files changed, 8 insertions, 7 deletions
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