Skip to content

Commit

Permalink
Allow Python-style comments in Cargo.lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnrt committed Aug 9, 2024
1 parent 37f342d commit aa2c3e0
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 aa2c3e0

Please sign in to comment.