Fixes
New
-
Added hook suite documentation. b73a6e1
-
Added hooks to bump command. 3b638e0
-
Added tests for hooks. 8446567
-
Add hooks configuration fields. d6b24f0
Introduced
setup_hooks
,pre_bump_hooks
, andpost_bump_hooks
fields to configuration models. Updated corresponding test fixtures to verify these new fields. -
Add current_tag field to scm_info. 304c599
Updated the scm_info structure to include a new field, current_tag, across various configuration files and source code. This ensures that the current tag is tracked and represented in the output formats correctly.
Other
-
Enhance hook handling and testing across hook types. 49f1953
-
Introduced unified handling for setup, pre-commit, and post-commit hooks, including dry-run support.
-
Added comprehensive tests to ensure the correct behavior for all hook phases, including cases where no hooks are specified or in dry run mode.
-
Updated environment setup to use a common version environment function.
-
-
[pre-commit.ci] pre-commit autoupdate. 4342198
updates: - github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7
Updates
-
Changed the terminology for hooks. 049b470
Change pre-bump and post-bump to pre-commit and post-commit to better indicate their order of operations.