From 4facc7760a752e84b1327910c80f4e93bf0e2bac Mon Sep 17 00:00:00 2001 From: Markus Vieth Date: Tue, 26 Mar 2024 10:55:44 +0100 Subject: [PATCH] Add support for CUDA-C++ --- CHANGELOG.md | 1 + src/reuse/comment.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e54b4c7e..d7ce616b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ CLI command and its behaviour. There are no guarantees of stability for the - More file types are recognised: - Assembler (`.asm`) (#928) + - CUDA-C++ (`.cu`, `.cuh`) (#938) ### Changed diff --git a/src/reuse/comment.py b/src/reuse/comment.py index 12c43754..8bfcfef4 100644 --- a/src/reuse/comment.py +++ b/src/reuse/comment.py @@ -605,6 +605,8 @@ class XQueryCommentStyle(CommentStyle): ".csl": HtmlCommentStyle, # Bibliography (XML based) ".css": CssCommentStyle, ".csv": UncommentableCommentStyle, + ".cu": CCommentStyle, + ".cuh": CCommentStyle, ".cxx": CCommentStyle, ".d": CCommentStyle, ".dart": CCommentStyle,