Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.5 #412

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 26, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
Lucas-C/pre-commit-hooks repository patch v1.5.1 -> v1.5.5

Note: The pre-commit manager in Renovate is not supported by the pre-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 files

Compare Source

Added
+ Update multiple licence year ends in one run
+ Multiple license files

If more than one --license-filepath argument is specified, the checks are
performed as follows:

  1. 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.

  2. 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.

  3. 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 hook

Compare Source

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

v1.5.3: insert_license: new --allow-past-years parameter allows stale years to be left unchanged

Compare Source

⚠️ ⚠️ 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

v1.5.2: Renamed chmod hook to pre_commit_chmod to avoid conflict with standard chmod command

Compare 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: #​83


Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from TheKevJames as a code owner April 26, 2024 11:50
@renovate renovate bot added the task label Apr 26, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍

@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.5.x branch 5 times, most recently from fe7e87a to 36bee54 Compare April 26, 2024 12:51
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.5.x branch from 36bee54 to dd50d37 Compare April 26, 2024 12:59
@renovate renovate bot merged commit 8da4974 into master Apr 26, 2024
14 checks passed
@renovate renovate bot deleted the renovate/lucas-c-pre-commit-hooks-1.5.x branch April 26, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants