From 8b62beab54a8ab56dec75d49e51b1c92a4ec277e Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Fri, 17 Feb 2023 12:38:05 -0800 Subject: [PATCH] add `reuse lint` pre-commit hook check #249 --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index daa62106..c3656e46 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,12 @@ repos: - id: trailing-whitespace args: [--markdown-linebreak-ext=md] + # pull mirror of https://github.com/fsfe/reuse-tool + - repo: https://gitlab.ba.rivosinc.com/pub/it/reuse-tool + rev: v1.1.2 + hooks: + - id: reuse + # 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