Skip to content

Commit

Permalink
fix: remove unused alejandra settings
Browse files Browse the repository at this point in the history
  • Loading branch information
oxcabe committed Apr 7, 2024
1 parent df109da commit c4bc8f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
});
in
{
# Pre-commit hooks
checks = forAllSystems ({ systemName, pkgs, ... }: {
pre-commit-check = pre-commit-hooks.lib.${systemName}.run {
src = builtins.path { path = ./.; };
default_stages = [ "manual" "push" ];
hooks = {
alejandra.settings.verbosity = "quiet";
nixpkgs-fmt.enable = true;
commitizen.enable = true;
biome = {
Expand All @@ -69,6 +69,7 @@
# Development environment
devShells = forAllSystems ({ systemName, pkgs, commonPackages, ... }: {
default = pkgs.mkShell {
# Add pre-commit hooks
inherit (self.checks.${systemName}.pre-commit-check) shellHook;
packages = commonPackages ++ self.checks.${systemName}.pre-commit-check.enabledPackages;
};
Expand Down

0 comments on commit c4bc8f0

Please sign in to comment.