Skip to content

Commit

Permalink
Merge pull request #997 from waterkip/moresupport
Browse files Browse the repository at this point in the history
Add four new file(types) in the automatically supported files
  • Loading branch information
carmenbianca authored Jun 18, 2024
2 parents e557921 + feee4a9 commit c211919
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Hjson (`.hjson`) (#1002)
- JSON5 (`.json5`) (#1002)
- JSON with Comments (`.jsonc`) (#1002)
- Tap (`.taprc`) (#997)
- Zsh (`.zshrc`) (#997)
- Perl test (`.t`) (#997)
- BATS test (`.bats`) (#997)

### Changed

Expand Down
4 changes: 4 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ class XQueryCommentStyle(CommentStyle):
".axd": AspxCommentStyle,
".bash": PythonCommentStyle,
".bat": BatchFileCommentStyle,
".bats": PythonCommentStyle,
".bb": PythonCommentStyle,
".bbappend": PythonCommentStyle,
".bbclass": PythonCommentStyle,
Expand Down Expand Up @@ -790,6 +791,7 @@ class XQueryCommentStyle(CommentStyle):
".svg": UncommentableCommentStyle,
".svelte": HtmlCommentStyle,
".swift": CCommentStyle,
".t": PythonCommentStyle,
".tcl": PythonCommentStyle,
".tex": TexCommentStyle,
".textile": HtmlCommentStyle,
Expand Down Expand Up @@ -861,7 +863,9 @@ class XQueryCommentStyle(CommentStyle):
".Renviron": PythonCommentStyle,
".Rprofile": PythonCommentStyle,
".shellcheckrc": PythonCommentStyle,
".taprc": PythonCommentStyle,
".vimrc": VimCommentStyle,
".zshrc": PythonCommentStyle,
".yarnrc": PythonCommentStyle,
"ansible.cfg": PythonCommentStyle,
"archive.sctxar": UncommentableCommentStyle, # SuperCollider global archive
Expand Down

0 comments on commit c211919

Please sign in to comment.