SGPT is a command-line tool that provides a convenient way to interact with OpenAI models, enabling users to run queries, generate shell commands and produce code directly from the terminal.
MIT License
232
stars
24
forks
source link
chore(deps): update pre-commit hook commitizen-tools/commitizen to v3 #213
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
commitizen-tools/commitizen (commitizen-tools/commitizen)
### [`v3.13.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3130-2023-12-03)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.12.0...v3.13.0)
##### Feat
- **commands-bump**: automatically create annotated tag if message is given
- add tag message argument to cli
- **git**: add get tag message function
- add custom message to annotated git tag
##### Fix
- **test-bump-command**: typo in --annotated-tag option inside test
- **commitizen-git**: add quotes for tag message
##### Refactor
- **commands-bump**: make changelog variable in 1 line
- **commands-bump**: cast str to bool
### [`v3.12.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3120-2023-10-18)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.10.1...v3.12.0)
##### Feat
- **formats**: expose some new customizable changelog formats on the `commitizen.changelog_format` endpoint (Textile, AsciiDoc and RestructuredText)
- **template**: add `changelog --export-template` command
- **template**: allow to override the template from cli, configuration and plugins
##### Fix
- **filename**: ensure `file_name` can be passed to `changelog` from `bump` command
### [`v3.10.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3101-2023-10-14)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.10.0...v3.10.1)
##### Fix
- **bump**: add bump support with custom type + scope + exclamation mark
- **bump**: version bumping
### [`v3.10.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3100-2023-09-25)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.9.1...v3.10.0)
##### Feat
- Drop support for Python 3.7 ([#858](https://togithub.com/commitizen-tools/commitizen/issues/858))
### [`v3.9.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v391-2023-09-22)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.9.0...v3.9.1)
##### Fix
- **conf**: handle parse error when init ([#856](https://togithub.com/commitizen-tools/commitizen/issues/856))
### [`v3.9.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v390-2023-09-15)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.8.2...v3.9.0)
##### Feat
- **commands**: add arg of cz commit to execute git add
##### Fix
- **tests**: modify the arg of commit from add to all
- **commitizen**: Modify the function of the arg a of commit from git add all to git add update
##### Refactor
- **commitizen**: add return type hint of git add function
### [`v3.8.2`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v382-2023-09-09)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.8.1...v3.8.2)
##### Refactor
- **provider**: split provider code and related tests into individual files for maintainability ([#830](https://togithub.com/commitizen-tools/commitizen/issues/830))
### [`v3.8.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v381-2023-09-08)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.8.0...v3.8.1)
##### Fix
- add sponsors to README
### [`v3.8.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v380-2023-09-05)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.7.1...v3.8.0)
##### Feat
- **defaults.py**: add always_signoff config option for commits
### [`v3.7.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v371-2023-09-04)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.7.0...v3.7.1)
##### Fix
- empty error on bump failure
### [`v3.7.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v370-2023-08-26)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.6.0...v3.7.0)
##### Feat
- **provider**: add npm2 provider to update package.json, package-lock.json, and npm-shrinkwrap.json
##### Fix
- **provider**: fix npm version provider to update package-lock.json and npm-shrinkwrap.json if they exist
- **provider**: fix npm provider to update package-lock.json and npm-shrinkwrap.json if they exist
- **test**: pass correct type to get_package_version tests
- **tests**: completed test coverage for npm2
### [`v3.6.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v360-2023-08-01)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.4...v3.6.0)
##### Feat
- **changelog.py**: add encoding to get_metadata
- **unicode**: add unicode support
##### Fix
- add missing `encoding` parameter
- **out.py**: `TextIOWrapper.reconfigure` typing
- correct type hinting
- use base config for encoding
##### Refactor
- **defaults.py**: use variables in `DEFAULT_SETTINGS`
### [`v3.5.4`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v354-2023-07-29)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.3...v3.5.4)
##### Refactor
- replace SemVer type literals by respective constants
### [`v3.5.3`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v353-2023-07-15)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.2...v3.5.3)
##### Fix
- Treat $version the same as unset tag_format in ScmProvider
##### Refactor
- Make tag_format properly default to $version
### [`v3.5.2`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v352-2023-06-25)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.1...v3.5.2)
##### Fix
- **typing**: no_raise is declared as optional
### [`v3.5.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v351-2023-06-24)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.0...v3.5.1)
##### Fix
- only use version tags when generating a changelog
### [`v3.5.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v350-2023-06-23)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.4.1...v3.5.0)
##### Feat
- Add option in bump command to redirect git output to stderr
### [`v3.4.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v341-2023-06-23)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.4.0...v3.4.1)
##### Fix
- **veresion_schemes**: import missing Self for python 3.11
### [`v3.4.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v340-2023-06-20)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.3.0...v3.4.0)
##### Feat
- **version-schemes**: expose `version_schemes` as a `commitizen.scheme` endpoint.
### [`v3.3.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v330-2023-06-13)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.2.2...v3.3.0)
##### Feat
- add support for cargo workspaces
### [`v3.2.2`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v322-2023-05-11)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.2.1...v3.2.2)
##### Fix
- **init**: fix is_pre_commit_installed method
### [`v3.2.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v321-2023-05-03)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.2.0...v3.2.1)
##### Fix
- add support for importlib_metadata 6
### [`v3.2.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v320-2023-05-01)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.1.1...v3.2.0)
##### Feat
- **hooks**: add prepare-commit-msg and post-commit hooks
- **commit**: add --write-message-to-file option
##### Fix
- **bump**: better match for change_type when finding increment
- **changelog**: breaking change on additional types for conventional commits
- **bump**: breaking changes on additional types for conventional commits
- improve errors message when empty .cz.json found
- **init**: poetry detection
- bump decli which is type hinted
##### Refactor
- **commit**: change type of write_message_to_file to path
### [`v3.1.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v311-2023-04-28)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.1.0...v3.1.1)
##### Fix
- bump changelog for prerelease without commits
### [`v3.1.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v310-2023-04-25)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.0.1...v3.1.0)
##### Feat
- make `major_version_zero` customizable by third parties
### [`v3.0.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v301-2023-04-23)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.0.0...v3.0.1)
##### Fix
- typo in hook
##### Refactor
- set default_install_hook_types
### [`v3.0.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v300-2023-04-23)
[Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v2.42.1...v3.0.0)
##### BREAKING CHANGE
- Plugins are now exposed as `commitizen.plugin` entrypoints
##### Feat
- **init**: add new settings
- add semver support through version provider new api ([#686](https://togithub.com/commitizen-tools/commitizen/issues/686))
- **changelog**: add merge_prereleases flag
- **providers**: add a `scm` version provider
- **providers**: add support for some JSON-based version providers (NPM, Composer)
- **providers**: add support for some TOML-based versions (PEP621, Poetry, Cargo)
- **providers**: add a `commitizen.provider` endpoint for alternative versions providers
- **plugins**: Switch to an importlib.metadata.EntryPoint-based plugin loading
##### Fix
- **init**: welcome message
- small corrections and clean up
- major version zero message
- update dependencies
- **commands/changelog**: use topological order for commit ordering
- **excepthook**: ensure traceback can only be a `TracebackType` or `None`
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 Mend Renovate. View repository job log here.
This PR contains the following updates:
v2.42.1
->v3.13.0
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
commitizen-tools/commitizen (commitizen-tools/commitizen)
### [`v3.13.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3130-2023-12-03) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.12.0...v3.13.0) ##### Feat - **commands-bump**: automatically create annotated tag if message is given - add tag message argument to cli - **git**: add get tag message function - add custom message to annotated git tag ##### Fix - **test-bump-command**: typo in --annotated-tag option inside test - **commitizen-git**: add quotes for tag message ##### Refactor - **commands-bump**: make changelog variable in 1 line - **commands-bump**: cast str to bool ### [`v3.12.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3120-2023-10-18) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.10.1...v3.12.0) ##### Feat - **formats**: expose some new customizable changelog formats on the `commitizen.changelog_format` endpoint (Textile, AsciiDoc and RestructuredText) - **template**: add `changelog --export-template` command - **template**: allow to override the template from cli, configuration and plugins ##### Fix - **filename**: ensure `file_name` can be passed to `changelog` from `bump` command ### [`v3.10.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3101-2023-10-14) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.10.0...v3.10.1) ##### Fix - **bump**: add bump support with custom type + scope + exclamation mark - **bump**: version bumping ### [`v3.10.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v3100-2023-09-25) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.9.1...v3.10.0) ##### Feat - Drop support for Python 3.7 ([#858](https://togithub.com/commitizen-tools/commitizen/issues/858)) ### [`v3.9.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v391-2023-09-22) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.9.0...v3.9.1) ##### Fix - **conf**: handle parse error when init ([#856](https://togithub.com/commitizen-tools/commitizen/issues/856)) ### [`v3.9.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v390-2023-09-15) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.8.2...v3.9.0) ##### Feat - **commands**: add arg of cz commit to execute git add ##### Fix - **tests**: modify the arg of commit from add to all - **commitizen**: Modify the function of the arg a of commit from git add all to git add update ##### Refactor - **commitizen**: add return type hint of git add function ### [`v3.8.2`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v382-2023-09-09) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.8.1...v3.8.2) ##### Refactor - **provider**: split provider code and related tests into individual files for maintainability ([#830](https://togithub.com/commitizen-tools/commitizen/issues/830)) ### [`v3.8.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v381-2023-09-08) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.8.0...v3.8.1) ##### Fix - add sponsors to README ### [`v3.8.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v380-2023-09-05) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.7.1...v3.8.0) ##### Feat - **defaults.py**: add always_signoff config option for commits ### [`v3.7.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v371-2023-09-04) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.7.0...v3.7.1) ##### Fix - empty error on bump failure ### [`v3.7.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v370-2023-08-26) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.6.0...v3.7.0) ##### Feat - **provider**: add npm2 provider to update package.json, package-lock.json, and npm-shrinkwrap.json ##### Fix - **provider**: fix npm version provider to update package-lock.json and npm-shrinkwrap.json if they exist - **provider**: fix npm provider to update package-lock.json and npm-shrinkwrap.json if they exist - **test**: pass correct type to get_package_version tests - **tests**: completed test coverage for npm2 ### [`v3.6.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v360-2023-08-01) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.4...v3.6.0) ##### Feat - **changelog.py**: add encoding to get_metadata - **unicode**: add unicode support ##### Fix - add missing `encoding` parameter - **out.py**: `TextIOWrapper.reconfigure` typing - correct type hinting - use base config for encoding ##### Refactor - **defaults.py**: use variables in `DEFAULT_SETTINGS` ### [`v3.5.4`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v354-2023-07-29) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.3...v3.5.4) ##### Refactor - replace SemVer type literals by respective constants ### [`v3.5.3`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v353-2023-07-15) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.2...v3.5.3) ##### Fix - Treat $version the same as unset tag_format in ScmProvider ##### Refactor - Make tag_format properly default to $version ### [`v3.5.2`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v352-2023-06-25) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.1...v3.5.2) ##### Fix - **typing**: no_raise is declared as optional ### [`v3.5.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v351-2023-06-24) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.5.0...v3.5.1) ##### Fix - only use version tags when generating a changelog ### [`v3.5.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v350-2023-06-23) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.4.1...v3.5.0) ##### Feat - Add option in bump command to redirect git output to stderr ### [`v3.4.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v341-2023-06-23) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.4.0...v3.4.1) ##### Fix - **veresion_schemes**: import missing Self for python 3.11 ### [`v3.4.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v340-2023-06-20) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.3.0...v3.4.0) ##### Feat - **version-schemes**: expose `version_schemes` as a `commitizen.scheme` endpoint. ### [`v3.3.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v330-2023-06-13) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.2.2...v3.3.0) ##### Feat - add support for cargo workspaces ### [`v3.2.2`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v322-2023-05-11) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.2.1...v3.2.2) ##### Fix - **init**: fix is_pre_commit_installed method ### [`v3.2.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v321-2023-05-03) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.2.0...v3.2.1) ##### Fix - add support for importlib_metadata 6 ### [`v3.2.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v320-2023-05-01) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.1.1...v3.2.0) ##### Feat - **hooks**: add prepare-commit-msg and post-commit hooks - **commit**: add --write-message-to-file option ##### Fix - **bump**: better match for change_type when finding increment - **changelog**: breaking change on additional types for conventional commits - **bump**: breaking changes on additional types for conventional commits - improve errors message when empty .cz.json found - **init**: poetry detection - bump decli which is type hinted ##### Refactor - **commit**: change type of write_message_to_file to path ### [`v3.1.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v311-2023-04-28) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.1.0...v3.1.1) ##### Fix - bump changelog for prerelease without commits ### [`v3.1.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v310-2023-04-25) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.0.1...v3.1.0) ##### Feat - make `major_version_zero` customizable by third parties ### [`v3.0.1`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v301-2023-04-23) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v3.0.0...v3.0.1) ##### Fix - typo in hook ##### Refactor - set default_install_hook_types ### [`v3.0.0`](https://togithub.com/commitizen-tools/commitizen/blob/HEAD/CHANGELOG.md#v300-2023-04-23) [Compare Source](https://togithub.com/commitizen-tools/commitizen/compare/v2.42.1...v3.0.0) ##### BREAKING CHANGE - Plugins are now exposed as `commitizen.plugin` entrypoints ##### Feat - **init**: add new settings - add semver support through version provider new api ([#686](https://togithub.com/commitizen-tools/commitizen/issues/686)) - **changelog**: add merge_prereleases flag - **providers**: add a `scm` version provider - **providers**: add support for some JSON-based version providers (NPM, Composer) - **providers**: add support for some TOML-based versions (PEP621, Poetry, Cargo) - **providers**: add a `commitizen.provider` endpoint for alternative versions providers - **plugins**: Switch to an importlib.metadata.EntryPoint-based plugin loading ##### Fix - **init**: welcome message - small corrections and clean up - major version zero message - update dependencies - **commands/changelog**: use topological order for commit ordering - **excepthook**: ensure traceback can only be a `TracebackType` or `None`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.
This PR has been generated by Mend Renovate. View repository job log here.