diff --git a/CHANGELOG.md b/CHANGELOG.md index bcbcd2ff6..a2cdab9e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ CLI command and its behaviour. There are no guarantees of stability for the ### Added - More file types are recognised: + - Earthly files (`Earthfile` and `.earthlyignore`) (#1024) - CSON (`.cson`) (#1002) - Hjson (`.hjson`) (#1002) - JSON5 (`.json5`) (#1002) diff --git a/src/reuse/comment.py b/src/reuse/comment.py index 0e5514113..5c4484a31 100644 --- a/src/reuse/comment.py +++ b/src/reuse/comment.py @@ -847,6 +847,7 @@ class XQueryCommentStyle(CommentStyle): ".clang-tidy": PythonCommentStyle, ".coveragerc": PythonCommentStyle, ".dockerignore": PythonCommentStyle, + ".earthlyignore": PythonCommentStyle, ".editorconfig": PythonCommentStyle, ".empty": EmptyCommentStyle, ".eslintignore": PythonCommentStyle, @@ -879,6 +880,7 @@ class XQueryCommentStyle(CommentStyle): "Containerfile": PythonCommentStyle, "Dockerfile": PythonCommentStyle, "Doxyfile": PythonCommentStyle, + "Earthfile": PythonCommentStyle, "Gemfile": PythonCommentStyle, "go.mod": CppCommentStyle, "go.sum": UncommentableCommentStyle,