This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Renovate: Lucas-C/pre-commit-hooks to v1.5.4 #8
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.3.0
->v1.5.4
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.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: #83v1.5.1
: Using pre-commit built-in text files detection featureCompare Source
cf. https://github.com/Lucas-C/pre-commit-hooks/pull/72
v1.5.0
: New hook: chmod + using rapidfuzz instead of fuzzywuzzyCompare Source
Usage
v1.4.2
: insert-license: bugfixes for --use-current-year optional flagCompare Source
v1.4.1
: insert-license: new --use-current-year optional flagCompare Source
Handling years flexibly
You can add
--use-current-year
to change how the hook treats years in theheaders:
regardless of the year listed in the license file.
current year is listed in the header by using a range. For instance,
2015
or2015-2018
would get updated to2015-2023
in the year 2023.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.11Compare Source
Thanks to @GadgetSteve for the improvement on
remove-tabs
: https://github.com/Lucas-C/pre-commit-hooks/pull/62v1.3.1
: Supporting Python 3.10+Compare Source
Supporting Python 3.10 by using python-Levenshtein package instead of python-Levenshtein-wheels
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.
This PR has been generated by Mend Renovate. View repository job log here.