Skip to content

feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.2#921

Merged
kashalls merged 1 commit intomainfrom
renovate/lucas-c-pre-commit-hooks-1.x
Feb 1, 2023
Merged

feat(github-release): update pre-commit hook lucas-c/pre-commit-hooks to v1.4.2#921
kashalls merged 1 commit intomainfrom
renovate/lucas-c-pre-commit-hooks-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
Lucas-C/pre-commit-hooks repository minor v1.1.10 -> v1.4.2

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

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

v1.1.14: insert-license: added option --no-space-in-comment-prefix

Compare Source

Thanks @​mdeweerd for his contributions in PRs #​30 & #​33!

v1.1.13: insert-license: adding support for ISO-8859-1 encoding

Compare Source

v1.1.12: Fixed IndexError while removing license file in files containing just the license header

Compare Source

Thanks to @​M5oul for reporting it in #​25

v1.1.11: insert-license: added support for using tabs instead of spaces

Compare Source

cf. https://github.com/Lucas-C/pre-commit-hooks/issues/24


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.


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

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

… to v1.4.2

| datasource  | package                  | from    | to     |
| ----------- | ------------------------ | ------- | ------ |
| github-tags | Lucas-C/pre-commit-hooks | v1.1.10 | v1.4.2 |
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 08ae081
Status:⚡️  Build in progress...

View logs

@kashalls kashalls merged commit c52b2f1 into main Feb 1, 2023
@renovate renovate bot deleted the renovate/lucas-c-pre-commit-hooks-1.x branch February 1, 2023 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant