Skip to content

Commit

Permalink
Merge pull request #872 from carmenbianca/tmp/14895-add-various-files…
Browse files Browse the repository at this point in the history
…-types

Add various comment file extensions/names
  • Loading branch information
carmenbianca authored Nov 28, 2023
2 parents b4b0465 + 1364af1 commit 4d25b14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Julia (`.jl`) (#815)
- Modern Fortran (`.f90`) (#836)
- Bazel (`.bzl`) (#870)
- GNU Linker script (`.ld`) (#862)
- Assembly code (`.s`) (#862)
- Empty placeholders (`.empty`) (#862)
- ShellCheck configuration (`.shellcheckrc`) (#862)
- Pylint in-project configuration (`pylintrc`) (#862)
- 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)
Expand Down
5 changes: 5 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ class XQueryCommentStyle(CommentStyle):
".kts": CCommentStyle,
".l": LispCommentStyle,
".latex": TexCommentStyle,
".ld": CCommentStyle,
".less": CssCommentStyle,
".license": EmptyCommentStyle,
".lisp": LispCommentStyle,
Expand Down Expand Up @@ -698,6 +699,7 @@ class XQueryCommentStyle(CommentStyle):
".rs": CCommentStyle,
".rss": HtmlCommentStyle,
".rst": ReStructedTextCommentStyle,
".s": LispCommentStyle,
".sass": CssCommentStyle,
".sbt": CCommentStyle,
".sc": CCommentStyle, # SuperCollider source file
Expand Down Expand Up @@ -767,6 +769,7 @@ class XQueryCommentStyle(CommentStyle):
".coveragerc": PythonCommentStyle,
".dockerignore": PythonCommentStyle,
".editorconfig": PythonCommentStyle,
".empty": EmptyCommentStyle,
".eslintignore": PythonCommentStyle,
".eslintrc": UncommentableCommentStyle,
".gitattributes": PythonCommentStyle,
Expand All @@ -781,6 +784,7 @@ class XQueryCommentStyle(CommentStyle):
".pylintrc": PythonCommentStyle,
".Renviron": PythonCommentStyle,
".Rprofile": PythonCommentStyle,
".shellcheckrc": PythonCommentStyle,
".vimrc": VimCommentStyle,
".yarnrc": PythonCommentStyle,
"ansible.cfg": PythonCommentStyle,
Expand All @@ -804,6 +808,7 @@ class XQueryCommentStyle(CommentStyle):
"meson.build": PythonCommentStyle,
"meson_options.txt": PythonCommentStyle,
"pubspec.lock": UncommentableCommentStyle,
"pylintrc": PythonCommentStyle,
"Rakefile": PythonCommentStyle,
"requirements.txt": PythonCommentStyle,
"ROOT": MlCommentStyle,
Expand Down

0 comments on commit 4d25b14

Please sign in to comment.