diff --git a/changelog.d/added/comment-j2.md b/changelog.d/added/comment-j2.md new file mode 100644 index 00000000..77386ff1 --- /dev/null +++ b/changelog.d/added/comment-j2.md @@ -0,0 +1,2 @@ +- More file types are recognised: + - Ansible Jinja2 (`.j2`) (#1036) diff --git a/src/reuse/comment.py b/src/reuse/comment.py index 7139feba..99b2e76a 100644 --- a/src/reuse/comment.py +++ b/src/reuse/comment.py @@ -677,6 +677,7 @@ class XQueryCommentStyle(CommentStyle): ".ino": CppCommentStyle, ".ipynb": UncommentableCommentStyle, ".iuml": PlantUmlCommentStyle, + ".j2": JinjaCommentStyle, ".java": CppCommentStyle, ".jinja": JinjaCommentStyle, ".jinja2": JinjaCommentStyle,