-
Notifications
You must be signed in to change notification settings - Fork 50
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
Remove tabs using the default expand tabs behaviour. #60 #62
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you for your contribution! |
doonga
referenced
this pull request
in doonga/container-images
Jun 26, 2023
…#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>
renovate bot
referenced
this pull request
in UCL-MIRSG/ansible-role-ssl-certificates
Oct 24, 2023
[](https://renovatebot.com) 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.0` -> `v1.5.4` | 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.4`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.4): Preserve line endings when editing file in insert_license hook [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.3...v1.5.4) ##### Changed - preserve line endings when editing file in insert_license hook -*cf.* [#​84](https://github.com/Lucas-C/pre-commit-hooks/issues/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](https://github.com/Lucas-C/pre-commit-hooks/issues/83) ### [`v1.5.3`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.3): insert_license: new --allow-past-years parameter allows stale years to be left unchanged [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.2...v1.5.3)⚠️ ⚠️ **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](https://github.com/Lucas-C/pre-commit-hooks/issues/83) ### [`v1.5.2`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.2): Renamed chmod hook to pre_commit_chmod to avoid conflict with standard chmod command [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.1...v1.5.2) Also confined formatting-related hooks to meaningful stages - *cf.* PR [#​75](https://github.com/Lucas-C/pre-commit-hooks/issues/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](https://github.com/Lucas-C/pre-commit-hooks/issues/83) ### [`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) ### [`v1.3.1`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.3.1): Supporting Python 3.10+ [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.3.0...v1.3.1) Supporting Python 3.10 by using python-Levenshtein package instead of python-Levenshtein-wheels </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekday" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/UCL-MIRSG/ansible-role-ssl-certificates). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in UCL-MIRSG/ansible-role-install-python
Oct 25, 2023
[](https://renovatebot.com) 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.0` -> `v1.5.4` | 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.4`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.4): Preserve line endings when editing file in insert_license hook [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.3...v1.5.4) ##### Changed - preserve line endings when editing file in insert_license hook -*cf.* [#​84](https://github.com/Lucas-C/pre-commit-hooks/issues/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](https://github.com/Lucas-C/pre-commit-hooks/issues/83) ### [`v1.5.3`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.3): insert_license: new --allow-past-years parameter allows stale years to be left unchanged [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.2...v1.5.3)⚠️ ⚠️ **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](https://github.com/Lucas-C/pre-commit-hooks/issues/83) ### [`v1.5.2`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.5.2): Renamed chmod hook to pre_commit_chmod to avoid conflict with standard chmod command [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.1...v1.5.2) Also confined formatting-related hooks to meaningful stages - *cf.* PR [#​75](https://github.com/Lucas-C/pre-commit-hooks/issues/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](https://github.com/Lucas-C/pre-commit-hooks/issues/83) ### [`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) ### [`v1.3.1`](https://github.com/Lucas-C/pre-commit-hooks/releases/tag/v1.3.1): Supporting Python 3.10+ [Compare Source](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.3.0...v1.3.1) Supporting Python 3.10 by using python-Levenshtein package instead of python-Levenshtein-wheels </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekday" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/UCL-MIRSG/ansible-role-install-python). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I believe that this change would both give more correct behaviour in terms of the file looking the same when using a fixed, monospaced, font and is much simpler than #61 is.