Skip to content

Commit

Permalink
add reuse lint pre-commit hook check #249 and update other hook rep…
Browse files Browse the repository at this point in the history
…o to publically available one
  • Loading branch information
kbroch-rivosinc authored and abrestic-rivos committed Feb 21, 2023
1 parent c15a4fb commit d2d423f
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

repos:
# pull mirror from: https://github.com/pre-commit/pre-commit-hooks
- repo: https://gitlab.ba.rivosinc.com/pub/it/pre-commit-hooks.git
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
Expand All @@ -22,27 +21,7 @@ repos:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]

# FIXME(kbroch): Once we figure out the licensing
# pull mirror from: https://github.com/Lucas-C/pre-commit-hooks
# - repo: https://gitlab.ba.rivosinc.com/pub/it/lucas-c-pre-commit-hooks.git
# rev: 6a776792f4e02734ca75aaaac20311b431b3b8c3
# hooks:
# - id: insert-license
# files: \.(core|py)$
# args:
# - --license-filepath
# - LICENSE_HDR.txt
# - id: insert-license
# files: \.(c|h|cc|cpp|S|svh|sv|svp)$
# args:
# - --license-filepath
# - LICENSE_HDR.txt
# - --comment-style
# - //

# FIXME(kbroch): Once Cargo.toml defined
# - repo: https://gitlab.ba.rivosinc.com/pub/it/rivos-pre-commit-hooks
# rev: c85480efd69f56e17e29568d64d2a461cc3b5e9f
# hooks:
# - id: cargo-fmt
# - id: cargo-check
- repo: https://github.com/fsfe/reuse-tool
rev: v1.1.2
hooks:
- id: reuse

0 comments on commit d2d423f

Please sign in to comment.