Skip to content

Commit

Permalink
add support for bazel files
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroch-rivosinc committed Nov 28, 2023
1 parent 5ed9cb6 commit 04e4a2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ class XQueryCommentStyle(CommentStyle):
".bbappend": PythonCommentStyle,
".bbclass": PythonCommentStyle,
".bib": BibTexCommentStyle,
".bzl": PythonCommentStyle,
".c": CCommentStyle,
".cc": CCommentStyle,
".cjs": CCommentStyle,
Expand Down Expand Up @@ -758,6 +759,8 @@ class XQueryCommentStyle(CommentStyle):

FILENAME_COMMENT_STYLE_MAP = {
".bashrc": PythonCommentStyle,
".bazelignore": PythonCommentStyle,
".bazelrc": PythonCommentStyle,
".browserslist": PythonCommentStyle,
".clang-format": PythonCommentStyle,
".coveragerc": PythonCommentStyle,
Expand Down

0 comments on commit 04e4a2d

Please sign in to comment.