Skip to content

Commit

Permalink
Merge pull request #755 from anthony-loiseau-act/tmp/qt-files
Browse files Browse the repository at this point in the history
Add a set of Qt file types (pri, qrc, qss, ui)
  • Loading branch information
linozen committed Jun 6, 2023
2 parents 0b4edf1 + 10bae3d commit 16ac205
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Fennel (`.fnl`) (#638)
- CommonJS (`.cjs`) (#632)
- Qt .pro (`.pro`) (#632)
- Qt .pri (`.pri`) (#755)
- Qt .qrc (`.qrc`) (#755)
- Qt .qss(`.qss`) (#755)
- Qt .ui (`.ui`) (#755)
- Textile (`.textile`) (#712)
- Visual Studio Code workspace (`.code-workspace`) (#747)
- Application Resource Bundle (`.arb`) (#749)
Expand Down
4 changes: 4 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ class XQueryCommentStyle(CommentStyle):
".pot": PythonCommentStyle,
".ppt": UncommentableCommentStyle,
".pptx": UncommentableCommentStyle,
".pri": PythonCommentStyle,
".pro": PythonCommentStyle,
".proto": CCommentStyle,
".ps1": PythonCommentStyle, # TODO: Multiline comments
Expand All @@ -641,6 +642,8 @@ class XQueryCommentStyle(CommentStyle):
".pyx": PythonCommentStyle,
".qbs": CCommentStyle,
".qml": CCommentStyle,
".qrc": UncommentableCommentStyle,
".qss": CssCommentStyle,
".R": PythonCommentStyle,
".rake": PythonCommentStyle,
".rb": PythonCommentStyle,
Expand Down Expand Up @@ -678,6 +681,7 @@ class XQueryCommentStyle(CommentStyle):
".ts": CCommentStyle,
".tsx": CCommentStyle,
".ttl": PythonCommentStyle, # Turtle/RDF
".ui": UncommentableCommentStyle,
".v": CCommentStyle, # V-Lang source code
".vala": CCommentStyle,
".vim": VimCommentStyle,
Expand Down

0 comments on commit 16ac205

Please sign in to comment.