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 #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 21, 2022

This PR contains the following updates:

Package Type Update Change
Lucas-C/pre-commit-hooks repository minor v1.1.14 -> 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

v1.5.1: Using pre-commit built-in text files detection feature

Compare Source

cf. https://github.com/Lucas-C/pre-commit-hooks/pull/72

v1.5.0: New hook: chmod + using rapidfuzz instead of fuzzywuzzy

Compare Source

Usage

- repo: https://github.com/Lucas-C/pre-commit-hooks
  rev: v1.5.0
  hooks:
    - id: chmod
      args: ['644']
      files: \.md$

v1.4.2: insert-license: bugfixes for --use-current-year optional flag

Compare Source

v1.4.1: insert-license: new --use-current-year optional flag

Compare Source

Handling years flexibly

You can add --use-current-year to change how the hook treats years in the
headers:

  • When inserting a header, the current year will always be inserted
    regardless of the year listed in the license file.
  • When modifying a file that already has a header, the hook will ensure the
    current year is listed in the header by using a range. For instance,
    2015 or 2015-2018 would get updated to 2015-2023 in the year 2023.
  • When removing headers, the licenses will be removed regardless of the
    years they contain -- as if they used the year currently present in the
    license file.

v1.4.0: remove-tabs alignment now considers the enclosing whitespaces + ensured support for Python 3.11

Compare Source

Thanks to @​GadgetSteve for the improvement on remove-tabs: https://github.com/Lucas-C/pre-commit-hooks/pull/62

v1.3.1: Supporting Python 3.10+

Compare Source

Supporting Python 3.10 by using python-Levenshtein package instead of python-Levenshtein-wheels

v1.3.0: New --insert-license-after-regex & --no-extra-eol options

Compare Source

v1.2.0: Dropping support for Python 2.7 & 3.6

Compare Source

v1.1.15: Last version to support Python 2.7 & 3.6

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.2.0 chore(deps): update pre-commit hook Lucas-C/pre-commit-hooks to v1.2.0 Jun 27, 2022
@renovate renovate bot changed the title chore(deps): update pre-commit hook Lucas-C/pre-commit-hooks to v1.2.0 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.2.0 Jun 28, 2022
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 7c97ad8 to 2086d27 Compare July 4, 2022 23:40
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.2.0 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.3.0 Jul 4, 2022
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 2086d27 to 89122c2 Compare September 25, 2022 15:59
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.3.0 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.3.1 Sep 25, 2022
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.3.1 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.2 Mar 11, 2023
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 89122c2 to d7dc551 Compare March 11, 2023 15:34
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.2 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.0 Mar 31, 2023
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from d7dc551 to 2e1f6dc Compare March 31, 2023 09:24
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.0 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.1 Mar 31, 2023
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 2e1f6dc to fd3d16c Compare March 31, 2023 11:33
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.1 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.2 Aug 3, 2023
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from fd3d16c to 94290a2 Compare August 3, 2023 19:38
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.2 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.3 Aug 4, 2023
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 94290a2 to 8372c93 Compare August 4, 2023 10:53
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.3 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.4 Aug 13, 2023
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 8372c93 to 1cba19a Compare August 13, 2023 15:20
@renovate renovate bot force-pushed the renovate/lucas-c-pre-commit-hooks-1.x branch from 1cba19a to b2db855 Compare February 13, 2024 21:39
@renovate renovate bot changed the title chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.4 chore(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.5 Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants