This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deps): update pre-commit hook lucas-c/pre-commit-hooks to v1.5.1 (…
…#5) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Lucas-C/pre-commit-hooks](https://github.com/Lucas-C/pre-commit-hooks) | repository | minor | `v1.3.1` -> `v1.5.1` | 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](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>Lucas-C/pre-commit-hooks (Lucas-C/pre-commit-hooks)</summary> ### [`v1.5.1`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.1): Using pre-commit built-in text files detection feature [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.0...v1.5.1) *cf.* [https://github.com/Lucas-C/pre-commit-hooks/pull/72](https://github.com/Lucas-C/pre-commit-hooks/pull/72) ### [`v1.5.0`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.0): New hook: chmod + using rapidfuzz instead of fuzzywuzzy [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.4.2...v1.5.0) #### Usage ```yaml - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.0 hooks: - id: chmod args: ['644'] files: \.md$ ``` ### [`v1.4.2`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.4.2): insert-license: bugfixes for --use-current-year optional flag [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.4.1...v1.4.2) ### [`v1.4.1`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.4.1): insert-license: new --use-current-year optional flag [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.4.0...v1.4.1) ##### 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`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.4.0): remove-tabs alignment now considers the enclosing whitespaces + ensured support for Python 3.11 [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.3.1...v1.4.0) Thanks to [@​GadgetSteve](https://github.com/GadgetSteve) for the improvement on `remove-tabs`: [https://github.com/Lucas-C/pre-commit-hooks/pull/62](https://github.com/Lucas-C/pre-commit-hooks/pull/62) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDIuMCIsInVwZGF0ZWRJblZlciI6IjM1LjE0Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: greyrock-bot <1583719+greyrock-bot[bot]@users.noreply.github.com>
- Loading branch information