Skip to content

Commit

Permalink
refactor: exclude .jpg and .png from large file check
Browse files Browse the repository at this point in the history
  • Loading branch information
EmergentMind committed Feb 18, 2025
1 parent d11fcc8 commit 8d74368
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@
default_stages = [ "pre-commit" ];
hooks = {
# ========== General ==========
check-added-large-files.enable = true;
check-added-large-files = {
enable = true;
excludes = [
"\\.png"
"\\.jpg"
];
};
check-case-conflicts.enable = true;
check-executables-have-shebangs.enable = true;
check-shebang-scripts-are-executable.enable = false; # many of the scripts in the config aren't executable because they don't need to be.
Expand Down

0 comments on commit 8d74368

Please sign in to comment.