Skip to content

Support selectors in prek install/install-hooks/hook-impl#683

Merged
j178 merged 4 commits intomasterfrom
install-with-selectors
Sep 9, 2025
Merged

Support selectors in prek install/install-hooks/hook-impl#683
j178 merged 4 commits intomasterfrom
install-with-selectors

Conversation

@j178
Copy link
Owner

@j178 j178 commented Sep 9, 2025

Updates #624

You can now use prek install --skip examples/ to set up a hook. Then, every time you run git commit, prek will always skip the examples/ sub-project.

@j178 j178 added the enhancement New feature or request label Sep 9, 2025
@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 98.52941% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.39%. Comparing base (62438bc) to head (8ccadc4).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/cli/install.rs 97.56% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #683      +/-   ##
==========================================
+ Coverage   87.33%   87.39%   +0.06%     
==========================================
  Files          58       58              
  Lines       10265    10322      +57     
==========================================
+ Hits         8965     9021      +56     
- Misses       1300     1301       +1     

☔ View full report in Codecov by Sentry.
📢 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.

@j178 j178 force-pushed the install-with-selectors branch from bdecaa4 to 27d45a1 Compare September 9, 2025 14:07
@j178 j178 force-pushed the install-with-selectors branch from 27d45a1 to 8ccadc4 Compare September 9, 2025 15:28
@j178 j178 changed the title Support selectors in prek install Support selectors in prek install/install-hooks/hook-impl Sep 9, 2025
@j178 j178 merged commit 736768b into master Sep 9, 2025
18 checks passed
@j178 j178 deleted the install-with-selectors branch September 9, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant