Skip to content

Commit

Permalink
Merge pull request #1060 from jwnrt/cargo-lock
Browse files Browse the repository at this point in the history
Allow Python-style comments in Cargo.lock files
  • Loading branch information
carmenbianca authored Aug 22, 2024
2 parents 1738708 + aa2c3e0 commit a623113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/changed/comment-cargo-lock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Allow Python-style comments in Cargo.lock files
2 changes: 1 addition & 1 deletion src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ class XQueryCommentStyle(CommentStyle):
".yarnrc": PythonCommentStyle,
"ansible.cfg": PythonCommentStyle,
"archive.sctxar": UncommentableCommentStyle, # SuperCollider global archive
"Cargo.lock": UncommentableCommentStyle,
"Cargo.lock": PythonCommentStyle,
"CMakeLists.txt": PythonCommentStyle,
"CODEOWNERS": PythonCommentStyle,
"configure.ac": M4CommentStyle,
Expand Down

0 comments on commit a623113

Please sign in to comment.