Skip to content

Commit

Permalink
internal: Fail slow for pre-commit runs
Browse files Browse the repository at this point in the history
With fail fast set to false, it gives the
pre-commit runs a chance to fix all the
issues it can possibly fix automatically
without the need to re-run the pre-commit
over and over again.

This new config has definitely saved
time in B&A dev workflow and can help
the common repo as well.

Bug: NA
Change-Id: Ie3ec45f6949fc899d10731907f16106fb7c0ac82
GitOrigin-RevId: 5ce1f6bc61defefee03822490c5008bc1f6de42b
  • Loading branch information
Privacy Sandbox Team authored and copybara-github committed Jan 22, 2025
1 parent 35bb8fa commit dab23a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exclude: (?x)^(
docs/cpio/protobuf/.*\.md
)$

fail_fast: true
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand Down

0 comments on commit dab23a7

Please sign in to comment.