From 5417d6374b7e107421f0b236083bde0c5c91f9b9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 8 Oct 2023 22:25:00 -0400 Subject: use python 3.11 formatting rules --- helix/.config/helix/languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix/.config/helix/languages.toml b/helix/.config/helix/languages.toml index 6624a1a..ff9e656 100644 --- a/helix/.config/helix/languages.toml +++ b/helix/.config/helix/languages.toml @@ -6,5 +6,5 @@ config = { checkOnSave = { command = "clippy" }, cargo = { allFeatures = true }, name = "python" language-server = { command = "pyright-langserver", args = ["--stdio"] } config = {} -formatter = { command = "black", args = ["--quiet", "-"] } +formatter = { command = "black", args = ["--target-version=py311", "--quiet", "-"] } auto-format = true -- cgit v1.2.3-54-g00ecf