chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.5 #412
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.5.1
->v1.5.5
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
Lucas-C/pre-commit-hooks (Lucas-C/pre-commit-hooks)
v1.5.5
: Support for multiple license filesCompare Source
Added
+ Update multiple licence year ends in one run
+ Multiple license files
If more than one
--license-filepath
argument is specified, the checks areperformed as follows:
First, an exact match is pursued, checking the 1st license file, then
the 2nd, and so on. If a match is found, the normal behavior is
followed, as if the matched license file was the only license file
specified.
If no exact match is found, then the software resorts to fuzzy matching.
Again, as soon as a match is found, the normal behavior is followed, as
if the fuzzy-matched license file was the only license file specified.
Finally, if neither exact nor fuzzy matches are found, the content of
the first license file is inserted.
v1.5.4
: Preserve line endings when editing file in insert_license hookCompare Source
Changed
chmod
hook does nothing under Windowspre-commit
3.2.0 or superior.If you get an error like
Expected one of ... but got: 'pre-commit'
, check this issue: #83v1.5.3
: insert_license: new --allow-past-years parameter allows stale years to be left unchangedCompare Source
pre-commit
3.2.0 or superior.If you get an error like
Expected one of ... but got: 'pre-commit'
, check this issue: #83v1.5.2
: Renamed chmod hook to pre_commit_chmod to avoid conflict with standard chmod commandCompare Source
Also confined formatting-related hooks to meaningful stages - cf. PR #75
Now this hook requires
pre-commit
3.2.0 or superior.If you get an error like
Expected one of ... but got: 'pre-commit'
, check this issue: #83Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.