From 31f00b83a7336883debcec97cf2405d0ebaab975 Mon Sep 17 00:00:00 2001 From: Copilot <223556219+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 23:56:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20chore(prek):=20adopt=20spore?= =?UTF-8?q?-pre-commit=20formatter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- prek.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/prek.toml b/prek.toml index 19c6d5f..2704b8f 100644 --- a/prek.toml +++ b/prek.toml @@ -22,6 +22,16 @@ hooks = [ { id = "tombi-lint" }, ] +[[repos]] +repo = "https://github.com/spore-lang/spore-pre-commit" +rev = "v0.0.2" +hooks = [ + { + id = "spore-format", + files = "^(examples/[^/]+\\.sp|src/basic_cli/.*\\.sp)$" + }, +] + [[repos]] repo = "https://github.com/crate-ci/typos" rev = "v1.33.1" From 0d5722f95649c1190d96d1bc3acab7f8abb1d9ba Mon Sep 17 00:00:00 2001 From: zrr1999 <2742392377@qq.com> Date: Tue, 28 Apr 2026 21:44:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20chore(prek):=20update=20spor?= =?UTF-8?q?e-pre-commit=20to=20version=200.0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prek.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prek.toml b/prek.toml index 2704b8f..d8d66a7 100644 --- a/prek.toml +++ b/prek.toml @@ -24,7 +24,7 @@ hooks = [ [[repos]] repo = "https://github.com/spore-lang/spore-pre-commit" -rev = "v0.0.2" +rev = "v0.0.3" hooks = [ { id = "spore-format",