diff --git a/prek.toml b/prek.toml index 57dbfab..5df0170 100644 --- a/prek.toml +++ b/prek.toml @@ -29,6 +29,16 @@ hooks = [ { id = "actionlint" }, ] +[[repos]] +repo = "https://github.com/spore-lang/spore-pre-commit" +rev = "v0.0.3" +hooks = [ + { + id = "spore-format", + files = "^(examples/[^/]+\\.sp|src/basic_cli/.*\\.sp)$" + }, +] + [[repos]] repo = "https://github.com/crate-ci/typos" rev = "v1.33.1"