Skip to content

Commit

Permalink
[Pre-commit] Fork pre-commit-hook dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind committed Mar 26, 2024
1 parent c1e6011 commit 83a4430
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
# TODO: identify if we can move away from using pre-commit hooks for these checks.
#
# See also:
# - https://pre-commit.com for more information.
# - https://pre-commit.com/hooks.html for more hooks.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand All @@ -12,8 +15,8 @@ repos:
args:
- --maxkb=2000
# Once this issue is resolved, we can add the full license check: https://github.com/Lucas-C/pre-commit-hooks/issues/68
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
- repo: https://github.com/aptos-labs/pre-commit-hooks
rev: a30f0d816e5062a67d87c8de753cfe499672b959 # Fix the revision to the v1.5.5 release commit. See: https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.5
hooks:
- id: insert-license
files: ^(?!third_party/).*\.rs$
Expand Down

0 comments on commit 83a4430

Please sign in to comment.