Skip to content

Track builtin hook file changes directly - #2404

Merged
j178 merged 2 commits into
masterfrom
hook-changes
Jul 28, 2026
Merged

j178 merged 2 commits into
masterfrom
hook-changes

Refactor

9be21a8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 28, 2026 in 0s

93.47% (-0.05%) compared to 186c609

View this Pull Request on Codecov

93.47% (-0.05%) compared to 186c609

Details

Codecov Report

❌ Patch coverage is 96.03960% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.47%. Comparing base (186c609) to head (9be21a8).

Files with missing lines Patch % Lines
crates/prek/src/hooks/pre_commit_hooks/mod.rs 45.16% 17 Missing ⚠️
crates/prek/src/hooks/meta_hooks.rs 77.77% 2 Missing ⚠️
...ates/prek/src/hooks/pre_commit_hooks/check_yaml.rs 93.75% 2 Missing ⚠️
...hooks/builtin_hooks/check_illegal_windows_names.rs 66.66% 1 Missing ⚠️
crates/prek/src/hooks/builtin_hooks/check_json5.rs 92.85% 1 Missing ⚠️
crates/prek/src/hooks/builtin_hooks/pattern.rs 85.71% 1 Missing ⚠️
...re_commit_hooks/check_executables_have_shebangs.rs 95.23% 1 Missing ⚠️
...mmit_hooks/check_shebang_scripts_are_executable.rs 80.00% 1 Missing ⚠️
.../prek/src/hooks/pre_commit_hooks/check_symlinks.rs 96.55% 1 Missing ⚠️
...rc/hooks/pre_commit_hooks/forbid_new_submodules.rs 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2404      +/-   ##
==========================================
- Coverage   93.51%   93.47%   -0.05%     
==========================================
  Files         130      130              
  Lines       28057    28063       +6     
==========================================
- Hits        26238    26231       -7     
- Misses       1819     1832      +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.