Skip to content

chore(deps): update pre-commit hooks (major) - #165

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/major-pre-commit-hooks
Open

chore(deps): update pre-commit hooks (major)#165
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/major-pre-commit-hooks

Conversation

@renovate

@renovate renovate Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
PyCQA/flake8 repository major 6.1.07.3.0
PyCQA/isort repository major 5.13.28.0.1
commitizen-tools/commitizen repository major v3.30.1v4.17.0
pre-commit/mirrors-mypy repository major v1.8.0v2.3.0
pre-commit/pre-commit-hooks repository major v4.5.0v6.0.0
psf/black repository major 23.12.126.5.1
python-poetry/poetry repository major 1.7.12.4.1
srstevenson/nb-clean repository major 3.2.04.0.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 if you have any questions.


Release Notes

PyCQA/flake8 (PyCQA/flake8)

v7.3.0

Compare Source

v7.2.0

Compare Source

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

v7.0.0

Compare Source

PyCQA/isort (PyCQA/isort)

v8.0.1

Compare Source

Changes

v8.0.0

Compare Source

  • Removed --old-finders and --magic-placement flags and old_finders configuration option. The legacy finder logic that relied on environment introspection has been removed (#​2445) @​joao-faria-dev

v7.0.0

Compare Source

Changes

💥 Breaking Changes

🚀 Features

🪲 Fixes

👷 Continuous Integration

📦 Dependencies

v6.1.0

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

commitizen-tools/commitizen (commitizen-tools/commitizen)

v4.17.0

Compare Source

v4.17.0 (2026-07-29)

Feat
  • cmd/version: add support for --next USE_GIT_COMMITS
Fix
  • robuster agents
  • version: remove next from exclusive group
  • bump: use correct type for calling changelog

v4.16.5

Compare Source

v4.16.5 (2026-07-16)

Fix
  • exclude star-history API from lychee link checker (#​2029)

v4.16.4

Compare Source

v4.16.4 (2026-06-22)

Fix
  • providers/cargo: don't crash on workspace member with fixed version

v4.16.3

Compare Source

v4.16.3 (2026-05-30)

Fix
  • check: expand env vars in --rev-range (#​2005)

v4.16.2

Compare Source

v4.16.2 (2026-05-15)

Fix
  • tags: widen prerelease and devrelease tag regexes for SemVer2 (#​1972)

v4.16.1

Compare Source

v4.16.1 (2026-05-15)

Fix
  • cz_customize: derive bump_map_major_version_zero from bump_map (#​1977)

v4.16.0

Compare Source

v4.16.0 (2026-05-12)

Feat
  • hooks: support interactive hooks scripts

v4.15.1

Compare Source

v4.15.1 (2026-05-06)

Fix
  • security: prevent command injection via shell=True (CWE-78) (#​1941)

v4.15.0

Compare Source

v4.15.0 (2026-05-03)

Feat
  • version: add MANUAL_VERSION, --next and --patch to version command (#​1724)

v4.14.0

Compare Source

v4.14.0 (2026-05-03)

Feat
  • add --allow-no-commit to changelog command (#​1868)

v4.13.10

Compare Source

v4.13.9

Compare Source

Fix
  • avoid raising an exception when a change_type is not defined (#​1879)

v4.13.8

Compare Source

Fix
  • config: fix contains_commitizen_section failing for completely empty files

v4.13.7

Compare Source

Fix
  • provider: use encoding settings in config (#​1857)

v4.13.6

Compare Source

Fix
  • bump: preserve existing changelog header when changelog_merge_prerelease is used with cz bump --changelog (#​1850)

v4.13.5

Compare Source

Fix
  • changelog: add incremental parameter to changelog generation (#​1808)

v4.13.4

Compare Source

Fix
  • pre-commit-hooks: correct rev-range syntax in commitizen-branch (#​1841)

v4.13.3

Compare Source

Refactor
  • version_schemes: shorten generate_prerelease (#​1838)

v4.13.2

Compare Source

Refactor
  • simplify code with pathlib Path object (#​1840)
  • tags: extract version resolution method (#​1839)

v4.13.1

Compare Source

Refactor
  • config: replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm (#​1842)

v4.13.0

Compare Source

Feat
  • bump: add --version-files-only and deprecate --files-only (#​1802)
  • version: add --tag tag to version command (#​1819)
  • cli: add description when choosing a commit rule (#​1825)
  • tags: enable version schemes with less than 3 components (#​1705)
Fix
  • config: include pyproject.toml in multi config file warning (#​1803)
  • add pytest ruff rule PT and fix missing deprecation warning (#​1826)
  • message_length_limit: align the behavior of message_length_limit (#​1813)
  • cli: capitalize the first characters of help texts and fix minor grammar errors
Refactor
  • replace hard-coded string "cz_conventional_commits" with DEFAULT_SETTINGS (#​1830)
  • bump: fix unbounded variable type issue

v4.12.1

Compare Source

Fix
  • pre-commit-hooks: remove magic constants on pre-push hook (#​1815)

v4.12.0

Compare Source

Feat
  • prek: supporting prek as an alternative to pre-commit and switching to prek (#​1799)

v4.11.6

Compare Source

Fix
  • git: commit bodies with carriage returns are correctly split by … (#​1780)

v4.11.5

Compare Source

Fix
  • config: ensure the actually used config file is correct, better test coverage (#​1784)

v4.11.4

Compare Source

Fix
  • cli: move sys.excepthook override to correct line, rename 'type' parameter, fix no argv test (#​1791)

v4.11.3

Compare Source

Fix
  • bump: fix the issue that changelog_merge_prerelease not working on cz bump

v4.11.2

Compare Source

Fix
  • config: add warning for multiple configuration files and update documentation (#​1773)

v4.11.1

Compare Source

Fix
  • providers: normalize package names in uv provider for uv.lock matching

v4.11.0

Compare Source

Feat
  • Drop support for Python 3.9 as EOL reached and add Python 3.14 support
  • add custom validation

v4.10.1

Compare Source

Fix
  • version: fix the behavior of cz version --major
  • cli: debug and no_raise can be used together in sys.excepthook
  • git: replace lstrip with strip for compatibility issue
  • bump: remove NotAllowed related to --get-next option, other related refactoring
Refactor
  • version: rename class member to align with other classes
  • cargo_provider: cleanup and get rid of potential type errors
  • bump: extract option validation and new version resolution to new functions
  • changelog: raise NotAllow when file_name not passed instead of using assert
  • bump: rename parameter and variables
Perf
  • ruff: enable ruff rules TC001~TC006
  • add TYPE_CHECKING to CzQuestion imports

v4.10.0

Compare Source

Feat
  • add config option for line length warning
  • conventional_commits: allow exclamation in title on BC
  • version: add the ability to just print major or minor version
  • allow amend! prefix as created by git --fixup=reword:<commit>
Fix
  • commands/version: add missing return
  • test: set terminal width for cli tests
  • Init: raise InitFailedError on keyboard interrupt on pre-commit hook question, simplify logic, remove unreachable code path
Refactor
  • bump: cleanup related to update_version_file
  • RestructuredTest: rename variable, fix typo and remove unnecessary string copy
  • TomlConfig: minor cleanups for DX
  • Commit: refactor _prompt_commit_questions and fix some type hint
  • hooks: refactor to improve readability
  • Init: make project_info a module and remove self.project_info
  • BaseConfig: update docstring, extract factory method and remove unnecessary variable assignment
  • remove self.encoding for better maintainability
  • utils: make get_backup_file_path to return a path for semantic correctness
  • remove unnecessary class member tag_format
  • Bump: remove use of getattr
  • ConventionalCommitsCz: rewrite message method to make the pattern more clear
  • cmd: unnest try except
  • BaseCommitizen: remove NotImplementedError and make them abstract method
  • BaseCommitizen: construct Style object directly to get rid of potential type error

v4.9.1

Compare Source

Fix
  • dependency: move deprecated to project.dependencies

v4.9.0

Compare Source

Feat
  • check: add check against default branch
Fix
  • changelog: mark get_smart_tag_range as deprecated
  • init: use pre-push as pre-commit stage
  • init: use pre-push as pre-commit stage
  • init: make welcome message easier to read
  • Init: fix a typo in _ask_version_provider options and remove unnecessary filter, use named tuple for options
  • ExitCode: add from_str in ExitCode and replace parse_no_raise with it
  • raise NoVersionSpecifiedError if version is None, and adjust call sites of get_version
  • Changelog: fix _export_template variable type
  • Bump: rewrite --get-next NotAllowed error message for consistency
Refactor
  • changelog: add get_next_tag_name_after_version and test, mark unused for get_smart_tag_range
  • changelog: simplify logic for get_oldest_and_newest_rev
  • changelog: shorten generate_tree_from_commits
  • Init: remove the variable values_to_add and the update_config function for readability
  • Init: remove unnecessary methods from ProjectInfo and refactor _ask_tag
  • Init: fix unbounded variable in _ask_tag_format
  • init: remote extra words
  • process_commit_message: better type and early return
  • Init: extract _get_config_data for readability
  • changelog: shorten condition expression and early return
  • Changelog: remove unnecessary intermediate variables for better readability
  • bump: use a loop to shorten a series of similar NotAllowed exceptions
  • Init: use ternary operator
  • TagRules: extract tag_formats property and simplify list comprehension
  • git: remove redundant if branch
  • ScmProvider: replace sorted with max
  • ExpectedExit: make the constructor more compact
  • ParseArgs: simplify call function body

v4.8.4

Compare Source

Fix
  • members in workspace, use exclude
  • cargo workspaces
Refactor
  • reduce code indentation

v4.8.3

Compare Source

Fix
  • cli: update description for deprecate warning
  • commit: emit deprecated warning of cz commit -s
  • Check: make parameters backward compatible
  • BaseConfig: mypy error
  • deprecated: mark deprecate in v5
  • defaults: add non-capitalized default constants back and deprecated warning
Refactor
  • jira: refactor message
  • conventional_commits: use TypedDict for answers
  • conventional_commits: make schema_pattern more readable
  • do not guess if changelog format is provided
  • check: compile once and rename variable
  • questions: type questions with TypedDict
  • bump: simplify nested if
  • git: retype get_commits parameter to make it more friendly to call sites
  • git: simplify tag logic
  • bump: eliminate similar patterns in code
  • bump: use any to replace 'or' chain
  • remove unnecessary bool() and remove Any type from TypedDict get
  • bump: improve readability and still bypass mypy check
  • commands: remove unused args, type version command args
  • commit: type commit args
  • check: type CheckArgs arguments
  • check: remove unused argument
  • changelog: type untyped arguments
  • bump: TypedDict for bump argument
  • make methods protected, better type
  • conventional_commits: remove unnecessary checks
  • fix mypy output and better type
  • BaseCommitizen: remove unused process_commit
  • remove TypeError handling since Python >=3.9 is required
  • add comment clarifying no_raise parsing to list[int]
  • cli.py: add type hints
  • mypy: remove unused-ignore
  • changelog: better typing, yield
  • cli: early return and improve test coverage
  • git: extract _create_commit_cmd_string
  • misc cleanup
  • bump: clean up
  • bump: add type for out, replace function with re escape
  • BaseConfig: use setter
  • changelog: minor cleanup
  • git: refactor get_tag_names
  • EOLType: add eol enum back and reorganize methods
  • git: code cleanup and better test coverage
  • commit: simplify call
  • version_scheme: cleanup
  • improve readability and fix typos
Perf
  • bump: avoid unnecessary list construction and rename variable to avoid confusion
  • tags: use set

v4.8.2

Compare Source

Refactor
  • check: simplify code
  • check: remove unnecessary variable

v4.8.1

Compare Source

Refactor
  • customize: improve code readability

v4.8.0

Compare Source

Feat
  • cli: add --tag-format argument to changelog command

v4.7.2

Compare Source

Refactor
  • default: capitalize all constants and remove unnecessary variable

v4.7.1

Compare Source

Fix
  • bump: don't fail if an invalid version tag is present (fix #​1410) (#​1418)

v4.7.0

Compare Source

Feat
  • providers: add support for Cargo.lock
Refactor
  • tests: increase verbosity of variables

v4.6.3

Compare Source

Fix
  • changelog.py: cross-platform path handling using os.path.join and modify the path linter and test parameter
  • changelog.py: modify the CHANGELOG.md generated by cz bump --changelog to the right place

v4.6.2

Compare Source

Fix
  • docs: fix url link and table formatting in the customization docs (#​1399)

v4.6.1

Compare Source

Fix
  • commit: use os.unlink to remove temp file

v4.6.0

Compare Source

Feat
  • changelog: expose commit parents' digests when processing commits
  • git: add parents' digests in commit information

v4.5.1

Compare Source

Fix
  • print which tag is invalid

v4.5.0

Compare Source

Feat
  • init: set uv to default value if both pyproject.toml and uv.lock present
Fix
  • commands/init: add missing uv provider to "cz init"

v4.4.1

Compare Source

Fix

v4.4.0

Compare Source

Feat
  • tags: adds legacy_tag_formats and ignored_tag_formats settings
Refactor
  • get_tag_regexes: dedup tag regexes definition

v4.3.0

Compare Source

Feat
  • providers: add uv_provider

v4.2.2

Compare Source

Fix
  • bump: manual version bump if prerelease offset is configured

v4.2.1

Compare Source

Fix
  • bump: add debugging to bump

v4.2.0

Compare Source

Feat
  • draft of the --empty parameter
Refactor
  • bump: rename --empty as --allow-no-commit

v4.1.1

Compare Source

Fix
  • get-next-bump: add a test case
  • get-next-bump: fix to permit usage of --get-next options even when update_changelog_on_bump is set to true

v4.1.0

Compare Source

Feat
  • commit: allow '-- --allow-empty' to create empty commits

v4.0.0

Compare Source

v3.31.0

Compare Source

Feat
  • commitizen: document '--' double dash in '--help'
Fix
  • commit: avoid warnings with 'always_signoff' configuration
  • commit: resolve 'always_signoff' configuration and '-s' CLI issues
pre-commit/mirrors-mypy (pre-commit/mirrors-mypy)

v2.3.0

Compare Source

v2.2.0

Compare Source

v2.1.0

Compare Source

v2.0.0

Compare Source

v1.20.2

Compare Source

v1.20.1

Compare Source

v1.20.0

Compare Source

v1.19.1

Compare Source

v1.19.0

Compare Source

v1.18.2

Compare Source

v1.18.1

Compare Source

v1.17.1

Compare Source

v1.17.0

Compare Source

v1.16.1

Compare Source

v1.16.0

Compare Source

v1.15.0

Compare Source

v1.14.1

Compare Source

v1.14.0

Compare Source

v1.13.0

Compare Source

v1.12.1

Compare Source

v1.12.0

Compare Source

v1.11.2

Compare Source

v1.11.1

Compare Source

v1.11.0

Compare Source

v1.10.1

Compare Source

v1.10.0

Compare Source

v1.9.0

Compare Source

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

v6.0.0: pre-commit-hooks v6.0.0

Compare Source

Fixes

Migrating

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
psf/black (psf/black)

v26.5.1

Compare Source

Stable style
  • Fix unstable formatting of annotated assignments whose subscript annotation contains
    an inline comment (e.g. x: list[ # pyright: ignore[...]) (#​5130)
  • Preserve inline comments (including # type: ignore) immediately before a
    # fmt: skip line, avoiding AST equivalence failures (#​5139)
Packaging
  • Correct the version in the published executables (#​5137)
Documentation
  • Add Neovim integration guide covering conform.nvim, ALE, and simple command approaches
    (#​5124)

v26.5.0

Compare Source

Highlights
  • Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810),
    both new syntactic features in Python 3.15 (#​5048)
  • Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so
    performance may be slower than on existing Python versions. Wheels will be provided
    once Python 3.15 is later in its release cycle. (#​5127)
Stable style
  • Fix # fmt: skip being ignored in nested if expressions with parenthesized in
    clauses (#​4903)
  • Add syntactic support for Python 3.15 (#​5048)
  • Fix crash when an f-string follows a # fmt: off comment inside brackets (#​5097)
  • Preserve multiline compound statement headers when # fmt: skip is placed on the
    colon line (#​5117)
Preview style
  • Improve heuristics around whether blank lines should appear before, within and after
    groups of same-name decorated functions (such as @overload groups) in .pyi stub
    files (#​5021)
  • Fix blank lines being removed between a function and a decorated class in .pyi stub
    files (#​5092)
  • Prevent string merger from creating unsplittable long lines when a pragma comment
    (e.g. # type: ignore) follows the closing bracket (#​5096)
Packaging
Output
  • Improve parse error readability by showing multi-line output with an error pointer.
    (#​5068)
  • Add SourceASTParseError to distinguish source parse failures from internal safety
    errors, improving error reporting when Black's lenient parser accepts input that
    ast.parse() rejects (#​5080)
Blackd
  • Return HTTP 400 (Bad Request) for source parse failures instead of HTTP 500, keeping
    HTTP 500 only for genuine internal safety errors (#​5080)
Integrations
  • Added documentation for doctest formatting tools and updated the integrations index to
    match (#​4916)
Documentation
  • Use "Version X.Y.Z" headings in changelog for stable permalink anchors on ReadTheDocs
    (#​5063)
  • Note in the editor integrations that the SublimeText sublack plugin is archived and
    unmaintained (#​5082)

v26.3.1

Compare Source

Stable style
  • Prevent Jupyter notebook magic masking collisions from corrupting cells by using
    exact-length placeholders for short magics and aborting if a placeholder can no longer
    be unmasked safely (#​5038)
Configuration
  • Always hash cache filename components derived from --python-cell-magics so custom
    magic names cannot affect cache paths (#​5038)
Blackd
  • Disable browser-originated requests by default, add configurable origin allowlisting
    and request body limits, and bound executor submissions to improve backpressure
    (#​5039)

v26.3.0

Compare Source

Stable style
  • Don't double-decode input, causing non-UTF-8 files to be corrupted (#​4964)
  • Fix crash on standalone comment in lambda default arguments (#​4993)
  • Preserve parentheses when # type: ignore comments would be merged with other
    comments on the same line, preventing AST equivalence failures (#​4888)
Preview style
  • Fix bug where if guards in case blocks were incorrectly split when the pattern had
    a trailing comma (#​4884)
  • Fix string_processing crashing on unassigned long string literals with trailing
    commas (one-item tuples) (#​4929)
  • Simplify implementation of the power operator "hugging" logic (#​4918)
Packaging
  • Fix shutdown errors in PyInstaller builds on macOS by disabling multiprocessing in
    frozen environments (#​4930)
Performance
  • Introduce winloop for windows as an alternative to uvloop (#​4996)
  • Remove deprecated function uvloop.install() in favor of uvloop.new_event_loop()
    (#​4996)
  • Rename maybe_install_uvloop function to maybe_use_uvloop to simplify loop
    installation and creation of either a uvloop/winloop eventloop or default eventloop
    (#​4996)
Output
  • Emit a clear warning when the target Python version is newer than the running Python
    version, since AST safety checks cannot parse newer syntax. Also replace the
    misleading "INTERNAL ERROR" message with an actionable error explaining the version
    mismatch (#​4983)
Blackd
  • Introduce winloop to be used when windows in use which enables blackd to run faster on
    windows when winloop is installed. (#​4996)
Integrations
  • Remove unused gallery script (#​5030)
  • Harden parsing of black requirements in the GitHub Action when use_pyproject is
    enabled so that only version specifiers are accepted and direct references such as
    black @&#8203; https://... are rejected. Users should upgrade to the latest version of the
    action as soon as possible. This update is received automatically when using
    psf/black@stable, and is independent of the version of Black installed by the
    action. (#​5031)
Documentation
  • Expand preview style documentation with detailed examples for wrap_comprehension_in,
    simplify_power_operator_hugging, and wrap_long_dict_values_in_parens features
    (#​4987)
  • Add detailed documentation for formatting Jupyter Notebooks (#​5009)

v26.1.0

Compare Source

Highlights

Introduces the 2026 stable style (#​4892), stabilizing the following changes:

  • always_one_newline_after_import: Always force one blank line after import
    statements, except when the line after the import is a comment or an import statement
    (#​4489)
  • fix_fmt_skip_in_one_liners: Fix # fmt: skip behavior on one-liner declarations,
    such as def foo(): return "mock" # fmt: skip, where previously the declaration would
    have been incorrectly collapsed (#​4800)
  • fix_module_docstring_detection: Fix module docstrings being treated as normal
    strings if preceded by comments (#​4764)
  • fix_type_expansion_split: Fix type expansions split in generic functions (#​4777)
  • multiline_string_handling: Make expressions involving multiline strings more compact
    (#​1879)
  • normalize_cr_newlines: Add \r style newlines to the potential newlines to
    normalize file newlines both from and to (#​4710)
  • remove_parens_around_except_types: Remove parentheses around multiple exception
    types in except and except* without as (#​4720)
  • remove_parens_from_assignment_lhs: Remove unnecessary parentheses f

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on thursday"
  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jul 30, 2026
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 61.79%. Comparing base (dc515d2) to head (fd38c96).

Files with missing lines Patch % Lines
src/boost_loss/regression/regression.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #165   +/-   ##
=======================================
  Coverage   61.79%   61.79%           
=======================================
  Files          10       10           
  Lines         678      678           
  Branches      123      123           
=======================================
  Hits          419      419           
  Misses        227      227           
  Partials       32       32           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate

renovate Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants