Skip to content

Preserve line endings when editing file in insert_license hook

Compare
Choose a tag to compare
@Lucas-C Lucas-C released this 13 Aug 14:41
· 5 commits to master since this release

Changed

  • preserve line endings when editing file in insert_license hook -cf. #84
  • the chmod hook does nothing under Windows

⚠️ ⚠️ This hook, since v1.5.2, requires pre-commit 3.2.0 or superior.
If you get an error like Expected one of ... but got: 'pre-commit', check this issue: #83