From c247bafe47cfa861503733f19470192ab9bb1109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berk=20=C3=96zk=C3=BCt=C3=BCk?= Date: Wed, 16 Oct 2024 22:22:33 +0200 Subject: [PATCH] add shebang for .cabal files --- changelog.d/added/comment-cabal.md | 2 +- src/reuse/comment.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.d/added/comment-cabal.md b/changelog.d/added/comment-cabal.md index cafa9a79..3b52c3ca 100644 --- a/changelog.d/added/comment-cabal.md +++ b/changelog.d/added/comment-cabal.md @@ -1,2 +1,2 @@ - Added `.cabal` and `cabal.project` (Haskell) as recognised file types for - comments. (#1089) + comments. (#1089, #1090) diff --git a/src/reuse/comment.py b/src/reuse/comment.py index 5b0ca08f..c8786933 100644 --- a/src/reuse/comment.py +++ b/src/reuse/comment.py @@ -422,6 +422,7 @@ class HaskellCommentStyle(CommentStyle): SINGLE_LINE = "--" INDENT_AFTER_SINGLE = " " + SHEBANGS = ["cabal-version:"] class HtmlCommentStyle(CommentStyle):