Skip to content

Commit

Permalink
Add require_serial hook config to pre-commit json
Browse files Browse the repository at this point in the history
  • Loading branch information
mmlb committed Dec 12, 2023
1 parent 51916ed commit 97f9b48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ let
description = lib.mdDoc ''
if true this hook will execute using a single process instead of in parallel.
'';
default = false;
};
stages =
mkOption {
Expand Down Expand Up @@ -161,7 +162,7 @@ let
{
raw =
{
inherit (config) name entry language files types types_or pass_filenames fail_fast stages verbose always_run;
inherit (config) name entry language files types types_or pass_filenames fail_fast require_serial stages verbose always_run;
id = name;
exclude = mergeExcludes config.excludes;
};
Expand Down

0 comments on commit 97f9b48

Please sign in to comment.