Skip to content

Commit

Permalink
add shebang for .cabal files
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkutuk committed Oct 16, 2024
1 parent e8d504d commit c247baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion changelog.d/added/comment-cabal.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- Added `.cabal` and `cabal.project` (Haskell) as recognised file types for
comments. (#1089)
comments. (#1089, #1090)
1 change: 1 addition & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ class HaskellCommentStyle(CommentStyle):

SINGLE_LINE = "--"
INDENT_AFTER_SINGLE = " "
SHEBANGS = ["cabal-version:"]


class HtmlCommentStyle(CommentStyle):
Expand Down

0 comments on commit c247baf

Please sign in to comment.