Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment: add few various file types and names #862

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ 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)
- 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 @@ -629,6 +629,7 @@ class XQueryCommentStyle(CommentStyle):
".kts": CCommentStyle,
".l": LispCommentStyle,
".latex": TexCommentStyle,
".ld": CCommentStyle,
".less": CssCommentStyle,
".license": EmptyCommentStyle,
".lisp": LispCommentStyle,
Expand Down Expand Up @@ -697,6 +698,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 @@ -763,6 +765,7 @@ class XQueryCommentStyle(CommentStyle):
".coveragerc": PythonCommentStyle,
".dockerignore": PythonCommentStyle,
".editorconfig": PythonCommentStyle,
".empty": EmptyCommentStyle,
".eslintignore": PythonCommentStyle,
".eslintrc": UncommentableCommentStyle,
".gitattributes": PythonCommentStyle,
Expand All @@ -777,6 +780,7 @@ class XQueryCommentStyle(CommentStyle):
".pylintrc": PythonCommentStyle,
".Renviron": PythonCommentStyle,
".Rprofile": PythonCommentStyle,
".shellcheckrc": PythonCommentStyle,
".vimrc": VimCommentStyle,
".yarnrc": PythonCommentStyle,
"ansible.cfg": PythonCommentStyle,
Expand All @@ -800,6 +804,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
Loading