From 5eb16cf89b114bfa64f1cd2e71c15ea20c61c23b Mon Sep 17 00:00:00 2001 From: James Wainwright Date: Mon, 22 Jul 2024 11:10:26 +0100 Subject: [PATCH] Recognise bzlmod files in checker itself --- licence-checker/licence-checker.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/licence-checker/licence-checker.py b/licence-checker/licence-checker.py index 335ec03..473940c 100755 --- a/licence-checker/licence-checker.py +++ b/licence-checker/licence-checker.py @@ -149,7 +149,17 @@ def full_line_parts(self, licence_line): ([".proto"], SLASH_SLASH), # Protobuf # Software Build Systems (["meson.build", "toolchain.txt", "meson_options.txt"], HASH), # Meson - (["WORKSPACE", "BUILD", "BUILD.bazel", ".bzl"], HASH), # Bazel + ( + [ + "WORKSPACE", + "WORKSPACE.bzlmod", + "MODULE.bazel", + "BUILD", + "BUILD.bazel", + ".bzl", + ], + HASH, + ), # Bazel # General Tooling ([".py"], HASH), # Python ([".sh"], HASH), # Shell Scripts