Skip to content

Commit

Permalink
Merge pull request #930 from rgaiacs/add-graphqls
Browse files Browse the repository at this point in the history
Add support to .graphqls in addition to .graphql
  • Loading branch information
carmenbianca authored Apr 8, 2024
2 parents dc5964a + 6bf6e07 commit 1e785a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
- GraphQL (`.graphqls`, `.gqls`) (#930)
- CUDA-C++ (`.cu`, `.cuh`) (#938)
- Various .NET files (`.csproj`, `.fsproj`, `.fsx`, `.props`, `.sln`,
`.vbproj`) (#940)
Expand Down
2 changes: 2 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,8 @@ class XQueryCommentStyle(CommentStyle):
".go": CCommentStyle,
".gradle": CCommentStyle,
".graphql": PythonCommentStyle,
".graphqls": PythonCommentStyle,
".gqls": PythonCommentStyle,
".groovy": CCommentStyle,
".h": CCommentStyle,
".ha": CSingleCommentStyle,
Expand Down

0 comments on commit 1e785a4

Please sign in to comment.