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

Update pre-commit hook pre-commit/pre-commit-hooks to v5 #1306

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

balena-renovate[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
pre-commit/pre-commit-hooks repository major v3.4.0 -> v5.0.0

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

pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)

v5.0.0: pre-commit-hooks v5.0.0

Compare Source

Features
Fixes
Migrating
  • pre-commit-hooks now requires pre-commit>=3.2.0.
  • use non-deprecated names for stages.

v4.6.0: pre-commit-hooks v4.6.0

Compare Source

Features
Migrating

v4.5.0: pre-commit-hooks v4.5.0

Compare Source

Features
Fixes

Migrating

v4.4.0: pre-commit-hooks v4.4.0

Compare Source

Features

v4.3.0: pre-commit-hooks v4.3.0

Compare Source

Features
  • check-executables-have-shebangs: use git config core.fileMode to determine if it should query git.
  • name-tests-test: add --pytest-test-first test convention.
Fixes

v4.2.0: pre-commit-hooks v4.2.0

Compare Source

Features
Fixes
  • check-merge-conflict: fix detection of ====== conflict marker on windows.
Updating

v4.1.0: pre-commit-hooks v4.1.0

Compare Source

Features
Fixes
Misc.

v4.0.1: pre-commit-hooks v4.0.1

Compare Source

Fixes

v4.0.0: pre-commit-hooks v4.0.0

Compare Source

Features
Fixes
Breaking changes

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 is behind base branch, 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 Renovate Bot.

Copy link
Contributor

flowzone-app bot commented Dec 30, 2024

#release-notes Update pre-commit hook pre-commit/pre-commit-hooks to v5

Notable changes

  • [only keep the important and rephrase, leaving this in place will avoid posting release notes]
    • requirements-txt-fixer: also remove pkg_resources==....
    • check-illegal-windows-names: new hook!
    • pretty-format-json: continue processing even if a file has a json error.
    • destroyed-symlinks: set stages to [pre-commit, pre-push, manual]
    • pre-commit-hooks now requires pre-commit>=3.2.0.
    • use non-deprecated names for stages.
    • requirements-txt-fixer: remove duplicate packages.
    • fix-encoding-pragma: deprecated -- will be removed in 5.0.0. use
    • requirements-txt-fixer: also sort constraints.txt by default.
    • debug-statements: add bpdb debugger.
    • file-contents-sorter: fix sorting an empty file.
    • double-quote-string-fixer: don't rewrite inside f-strings in 3.12+.
    • now requires python >= 3.8.
    • forbid-submodules: new hook which outright bans submodules.
    • check-executables-have-shebangs: use git config core.fileMode to determine if it should query git.
    • name-tests-test: add --pytest-test-first test convention.
    • check-shebang-scripts-are-executable: update windows instructions.
    • check-toml: use stdlib tomllib when available.
    • check-added-large-files: don't run on non-file stages.
    • name-tests-test: updated display text.
    • check-docstring-first: make output more parsable.
    • check-merge-conflict: make output more parsable.
    • debug-statements: make output more parsable.
    • check-merge-conflict: fix detection of ====== conflict marker on windows.
    • Drop python<3.7.
    • Changed default branch from master to main.
    • debug-statements: add pdbr debugger.
    • detect-private-key: add detection for additional key types.
    • check-executables-have-shebangs: improve messaging on windows.
    • check-added-large-files: support --enforce-all with git-lfs.
    • check-case-conflict: improve performance.
    • forbid-new-submodules: fix false-negatives for pre-push.
    • check-merge-conflict: fix execution in git worktrees.
    • Normalize case of hook names and descriptions.
    • check-shebang-scripts-are-executable fix entry point.
    • check-json: report duplicate keys.
    • no-commit-to-branch: add main to default blocked branches.
    • check-case-conflict: check conflicts in directory names as well.
    • check-vcs-permalinks: forbid other branch names.
    • check-shebang-scripts-are-executable: new hook which ensures shebang'd scripts are executable.
    • check-executables-have-shebangs: Short circuit shebang lookup on windows.
    • requirements-txt-fixer: Fix comments which have indentation
    • pretty-format-json: write to stdout using UTF-8 encoding.
    • Use more inclusive language.
    • Remove deprecated hooks: flake8, pyflakes, autopep8-wrapper.
pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)

v5.0.0: pre-commit-hooks v5.0.0

Compare Source

Features
Fixes
Migrating
  • pre-commit-hooks now requires pre-commit>=3.2.0.
  • use non-deprecated names for stages.

v4.6.0: pre-commit-hooks v4.6.0

Compare Source

Features
Migrating

v4.5.0: pre-commit-hooks v4.5.0

Compare Source

Features
Fixes

Migrating

v4.4.0: pre-commit-hooks v4.4.0

Compare Source

Features

v4.3.0: pre-commit-hooks v4.3.0

Compare Source

Features
  • check-executables-have-shebangs: use git config core.fileMode to determine if it should query git.
  • name-tests-test: add --pytest-test-first test convention.
Fixes

v4.2.0: pre-commit-hooks v4.2.0

Compare Source

Features
Fixes
  • check-merge-conflict: fix detection of ====== conflict marker on windows.
Updating

v4.1.0: pre-commit-hooks v4.1.0

Compare Source

Features
Fixes
Misc.

v4.0.1: pre-commit-hooks v4.0.1

Compare Source

Fixes

v4.0.0: pre-commit-hooks v4.0.0

Compare Source

Features
Fixes
Breaking changes

Copy link
Contributor

flowzone-app bot commented Dec 30, 2024

Website deployed to CF Pages, 👀 preview link https://544a1fdd.flowzone.pages.dev

@klutchell klutchell enabled auto-merge December 30, 2024 20:54
Update pre-commit/pre-commit-hooks from 3.4.0 to 5.0.0

Change-type: patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant