Skip to content

Commit

Permalink
Merge pull request #378 from mmlb/add-missing-configs-from-json
Browse files Browse the repository at this point in the history
Add missing configs for json
  • Loading branch information
domenkozar authored Dec 13, 2023
2 parents e1d203c + 97f9b48 commit 007a45d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,14 @@ let
description = lib.mdDoc ''
if true pre-commit will stop running hooks if this hook fails.
'';
default = false;
};
require_serial = mkOption {
type = types.bool;
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 @@ -160,7 +162,7 @@ let
{
raw =
{
inherit (config) name entry language files stages types types_or pass_filenames 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 007a45d

Please sign in to comment.