Skip to content

Commit

Permalink
Merge pull request #1036 from Thannoy/tmp/ansible-j2
Browse files Browse the repository at this point in the history
comment: threat .j2 files as Jinja2
  • Loading branch information
carmenbianca authored Jul 8, 2024
2 parents 8e025f0 + a816620 commit 711fd28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelog.d/added/comment-j2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- More file types are recognised:
- Ansible Jinja2 (`.j2`) (#1036)
1 change: 1 addition & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ class XQueryCommentStyle(CommentStyle):
".ino": CppCommentStyle,
".ipynb": UncommentableCommentStyle,
".iuml": PlantUmlCommentStyle,
".j2": JinjaCommentStyle,
".java": CppCommentStyle,
".jinja": JinjaCommentStyle,
".jinja2": JinjaCommentStyle,
Expand Down

0 comments on commit 711fd28

Please sign in to comment.