From 67d6c44fe1f2c092417bd8395fe30420fa55ffde Mon Sep 17 00:00:00 2001 From: Aaron Tavistock Date: Sun, 8 Oct 2023 22:26:50 -0700 Subject: [PATCH] Switch type to one supported by precommit --- modules/hooks.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/hooks.nix b/modules/hooks.nix index 8268565b..4f6f3430 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -1238,14 +1238,14 @@ in name = "mix-format"; descriptiion = "Runs the built-in Elixir syntax formatter"; entry = "${pkgs.elixir}/bin/mix format"; - types = [ "elixir" ]; + types = [ "file" ]; }; mix-test = { name = "mix-test"; descriptiion = "Runs the built-in Elixir test framework"; entry = "${pkgs.elixir}/bin/mix test"; - types = [ "elixir" ]; + types = [ "file" ]; }; credo = { @@ -1254,14 +1254,14 @@ in entry = let strict = if settings.credo.strict then "--strict" else ""; in "${pkgs.elixir}/bin/mix credo"; - types = [ "elixir" ]; + types = [ "file" ]; }; dialyzer = { name = "dialyzer"; descriptiion = "Runs a static code analysis using Dialyzer"; entry = "${pkgs.elixir}/bin/mix dialyzer"; - types = [ "elixir" ]; + types = [ "file" ]; }; }; }