Skip to content

Commit

Permalink
Merge pull request cachix#364 from atavistock/bug/fix_elixir_types
Browse files Browse the repository at this point in the history
Switch type to one supported by precommit
  • Loading branch information
domenkozar authored Oct 9, 2023
2 parents 8edf336 + 67d6c44 commit 42e1b60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2129,14 +2129,14 @@ in
name = "mix-format";
description = "Runs the built-in Elixir syntax formatter";
entry = "${pkgs.elixir}/bin/mix format";
types = [ "elixir" ];
types = [ "file" ];
};

mix-test = {
name = "mix-test";
description = "Runs the built-in Elixir test framework";
entry = "${pkgs.elixir}/bin/mix test";
types = [ "elixir" ];
types = [ "file" ];
};

credo = {
Expand All @@ -2145,7 +2145,7 @@ in
entry =
let strict = if settings.credo.strict then "--strict" else "";
in "${pkgs.elixir}/bin/mix credo";
types = [ "elixir" ];
types = [ "file" ];
};

vale = {
Expand All @@ -2169,7 +2169,7 @@ in
name = "dialyzer";
description = "Runs a static code analysis using Dialyzer";
entry = "${pkgs.elixir}/bin/mix dialyzer";
types = [ "elixir" ];
types = [ "file" ];
};

crystal = {
Expand Down

0 comments on commit 42e1b60

Please sign in to comment.