Skip to content

Commit 5eb16cf

Browse files
committed
Recognise bzlmod files in checker itself
1 parent 1a3f03c commit 5eb16cf

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

licence-checker/licence-checker.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,17 @@ def full_line_parts(self, licence_line):
149149
([".proto"], SLASH_SLASH), # Protobuf
150150
# Software Build Systems
151151
(["meson.build", "toolchain.txt", "meson_options.txt"], HASH), # Meson
152-
(["WORKSPACE", "BUILD", "BUILD.bazel", ".bzl"], HASH), # Bazel
152+
(
153+
[
154+
"WORKSPACE",
155+
"WORKSPACE.bzlmod",
156+
"MODULE.bazel",
157+
"BUILD",
158+
"BUILD.bazel",
159+
".bzl",
160+
],
161+
HASH,
162+
), # Bazel
153163
# General Tooling
154164
([".py"], HASH), # Python
155165
([".sh"], HASH), # Shell Scripts

0 commit comments

Comments
 (0)