File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,10 @@ clang-format = {
171
171
};
172
172
```
173
173
174
+ ## Git
175
+
176
+ - [ commitizen] ( https://github.com/commitizen-tools/commitizen )
177
+
174
178
## Custom hooks
175
179
176
180
Sometimes it is useful to add a project specific command as an extra check that
Original file line number Diff line number Diff line change 739
739
types = [ "python" ] ;
740
740
} ;
741
741
742
+ commitizen =
743
+ {
744
+ name = "commitizen check" ;
745
+ description = ''
746
+ Check whether the current commit message follows commiting rules.
747
+ '' ;
748
+ entry = "${ tools . commitizen } /bin/cz check --allow-abort --commit-msg-file" ;
749
+ stages = [ "commit-msg" ] ;
750
+ } ;
742
751
} ;
743
752
}
Original file line number Diff line number Diff line change 7
7
, cargo
8
8
, clang-tools
9
9
, clippy
10
+ , commitizen
10
11
, deadnix
11
12
, dhall
12
13
, editorconfig-checker
45
46
} :
46
47
47
48
{
48
- inherit actionlint alejandra cabal-fmt cabal2nix cargo clang-tools clippy deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nix-linter nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive ;
49
+ inherit actionlint alejandra cabal-fmt cabal2nix cargo clang-tools clippy commitizen deadnix dhall editorconfig-checker hadolint hindent hlint hpack html-tidy nix-linter nixfmt nixpkgs-fmt ormolu rustfmt shellcheck shfmt statix stylish-haskell stylua typos go mdsh revive ;
49
50
inherit ( elmPackages ) elm-format elm-review elm-test ;
50
51
# TODO: these two should be statically compiled
51
52
inherit ( haskellPackages ) brittany fourmolu ;
You can’t perform that action at this time.
0 commit comments