summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-10-08 22:25:00 -0400
committerJesse Luehrs <doy@tozt.net>2023-10-08 22:25:00 -0400
commit5417d6374b7e107421f0b236083bde0c5c91f9b9 (patch)
treede933ea8eebe66f4d1dd8d3edeb557cd31a1216f
parent9f0836f60e3c3be8a3dd7479062822008a3d1e63 (diff)
downloadconf-5417d6374b7e107421f0b236083bde0c5c91f9b9.tar.gz
conf-5417d6374b7e107421f0b236083bde0c5c91f9b9.zip
use python 3.11 formatting rules
-rw-r--r--helix/.config/helix/languages.toml2
1 files changed, 1 insertions, 1 deletions
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