diff --git a/AUTHORS.rst b/AUTHORS.rst index 107ff7d21..53c7027a8 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -74,6 +74,8 @@ Contributors - Markus Haug +- Kevin Broch + Translators ----------- diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d4206a7..b313da98a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ CLI command and its behaviour. There are no guarantees of stability for the - More file types are recognised: - Julia (`.jl`) (#815) - Modern Fortran (`.f90`) (#836) + - Bazel (`.bzl`) (#870) - Display recommendations for steps to fix found issues during a lint. (#698) - Add support for Pijul VCS. Pijul support is not added to the Docker image. (#858) 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,