From 04e4a2d8e235c55b2a294c8d5d544ac327ce4331 Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Mon, 27 Nov 2023 16:06:57 -0800 Subject: [PATCH] add support for bazel files --- src/reuse/comment.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/reuse/comment.py b/src/reuse/comment.py index 218d2305e..a5dc312d4 100644 --- a/src/reuse/comment.py +++ b/src/reuse/comment.py @@ -550,6 +550,7 @@ class XQueryCommentStyle(CommentStyle): ".bbappend": PythonCommentStyle, ".bbclass": PythonCommentStyle, ".bib": BibTexCommentStyle, + ".bzl": PythonCommentStyle, ".c": CCommentStyle, ".cc": CCommentStyle, ".cjs": CCommentStyle, @@ -758,6 +759,8 @@ class XQueryCommentStyle(CommentStyle): FILENAME_COMMENT_STYLE_MAP = { ".bashrc": PythonCommentStyle, + ".bazelignore": PythonCommentStyle, + ".bazelrc": PythonCommentStyle, ".browserslist": PythonCommentStyle, ".clang-format": PythonCommentStyle, ".coveragerc": PythonCommentStyle,