Skip to content

Commit

Permalink
ci(formatting): Enable check in project root (#426)
Browse files Browse the repository at this point in the history
resolves #238
  • Loading branch information
shivaraj-bh authored Jan 3, 2025
1 parent a0502fa commit 032d358
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/nix/pre-commit.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{ ... }:
{ inputs, ... }:
{
perSystem = { pkgs, lib, ... }: {
pre-commit = {
check.enable = true;
settings = {
rootSrc = lib.mkForce inputs.services-flake;
hooks = {
nixpkgs-fmt.enable = true;
commitizen.enable = true;
Expand Down

0 comments on commit 032d358

Please sign in to comment.