commitizen 4.11.5__tar.gz → 4.12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {commitizen-4.11.5 → commitizen-4.12.0}/PKG-INFO +8 -8
- commitizen-4.12.0/commitizen/__version__.py +1 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/git.py +2 -2
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/project_info.py +1 -1
- {commitizen-4.11.5 → commitizen-4.12.0}/docs/README.md +4 -4
- {commitizen-4.11.5 → commitizen-4.12.0}/pyproject.toml +5 -4
- commitizen-4.11.5/commitizen/__version__.py +0 -1
- {commitizen-4.11.5 → commitizen-4.12.0}/LICENSE +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/__main__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/bump.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog_formats/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog_formats/asciidoc.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog_formats/base.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog_formats/markdown.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog_formats/restructuredtext.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/changelog_formats/textile.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cli.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cmd.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/bump.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/changelog.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/check.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/commit.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/example.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/info.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/init.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/list_cz.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/schema.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/commands/version.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/config/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/config/base_config.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/config/factory.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/config/json_config.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/config/toml_config.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/config/yaml_config.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/base.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/conventional_commits/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/conventional_commits/conventional_commits.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/conventional_commits/conventional_commits_info.txt +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/customize/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/customize/customize.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/customize/customize_info.txt +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/exceptions.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/jira/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/jira/jira.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/jira/jira_info.txt +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/utils.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/defaults.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/exceptions.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/factory.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/hooks.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/out.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/__init__.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/base_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/cargo_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/commitizen_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/composer_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/npm_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/pep621_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/poetry_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/scm_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/providers/uv_provider.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/py.typed +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/question.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/tags.py +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/templates/CHANGELOG.adoc.j2 +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/templates/CHANGELOG.md.j2 +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/templates/CHANGELOG.rst.j2 +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/templates/CHANGELOG.textile.j2 +0 -0
- {commitizen-4.11.5 → commitizen-4.12.0}/commitizen/version_schemes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: commitizen
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.12.0
|
|
4
4
|
Summary: Python commitizen client tool
|
|
5
5
|
Keywords: commitizen,conventional,commits,git
|
|
6
6
|
Author: Santiago Fraire
|
|
@@ -57,11 +57,11 @@ Requires-Dist: importlib-metadata>=8.0.0,<8.7.0 ; python_full_version < '3.10'
|
|
|
57
57
|
Maintainer: Wei Lee, Axel H., Tim Hsiung
|
|
58
58
|
Maintainer-email: Wei Lee <weilee.rx@gmail.com>, Axel H. <noirbizarre@gmail.com>, Tim Hsiung <bear890707@gmail.com>
|
|
59
59
|
Requires-Python: >=3.10, <4.0
|
|
60
|
-
Project-URL: Changelog, https://github.com/commitizen-tools/commitizen/blob/master/CHANGELOG.md
|
|
61
|
-
Project-URL: Documentation, https://commitizen-tools.github.io/commitizen/
|
|
62
60
|
Project-URL: Homepage, https://github.com/commitizen-tools/commitizen
|
|
63
|
-
Project-URL:
|
|
61
|
+
Project-URL: Documentation, https://commitizen-tools.github.io/commitizen/
|
|
64
62
|
Project-URL: Repository, https://github.com/commitizen-tools/commitizen
|
|
63
|
+
Project-URL: Issues, https://github.com/commitizen-tools/commitizen/issues
|
|
64
|
+
Project-URL: Changelog, https://github.com/commitizen-tools/commitizen/blob/master/CHANGELOG.md
|
|
65
65
|
Description-Content-Type: text/markdown
|
|
66
66
|
|
|
67
67
|
[](https://github.com/commitizen-tools/commitizen/actions)
|
|
@@ -73,7 +73,7 @@ Description-Content-Type: text/markdown
|
|
|
73
73
|
[](https://anaconda.org/conda-forge/commitizen)
|
|
74
74
|
[](https://formulae.brew.sh/formula/commitizen)
|
|
75
75
|
[](https://codecov.io/gh/commitizen-tools/commitizen)
|
|
76
|
-
[](https://github.com/j178/prek)
|
|
77
77
|
|
|
78
78
|

|
|
79
79
|
|
|
@@ -248,7 +248,7 @@ This command is particularly useful for automation scripts and CI/CD pipelines.
|
|
|
248
248
|
|
|
249
249
|
For example, you can use the output of the command `cz changelog --dry-run "$(cz version -p)"` to notify your team about a new release in Slack.
|
|
250
250
|
|
|
251
|
-
#### Pre-commit Integration
|
|
251
|
+
#### Prek and Pre-commit Integration
|
|
252
252
|
|
|
253
253
|
Commitizen can automatically validate your commit messages using pre-commit hooks.
|
|
254
254
|
|
|
@@ -266,7 +266,7 @@ repos:
|
|
|
266
266
|
|
|
267
267
|
2. Install the hooks:
|
|
268
268
|
```sh
|
|
269
|
-
|
|
269
|
+
prek install --hook-type commit-msg --hook-type pre-push
|
|
270
270
|
```
|
|
271
271
|
|
|
272
272
|
| Hook | Recommended Stage |
|
|
@@ -276,7 +276,7 @@ pre-commit install --hook-type commit-msg --hook-type pre-push
|
|
|
276
276
|
|
|
277
277
|
> **Note**: Replace `master` with the [latest tag](https://github.com/commitizen-tools/commitizen/tags) to avoid warnings. You can automatically update this with:
|
|
278
278
|
> ```sh
|
|
279
|
-
>
|
|
279
|
+
> prek autoupdate
|
|
280
280
|
> ```
|
|
281
281
|
|
|
282
282
|
For more details about commit validation, see the [check command documentation](https://commitizen-tools.github.io/commitizen/commands/check/).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "4.12.0"
|
|
@@ -118,8 +118,8 @@ class GitCommit(GitObject):
|
|
|
118
118
|
>>> commit.parents
|
|
119
119
|
['def456', 'ghi789']
|
|
120
120
|
"""
|
|
121
|
-
rev, parents, title, author, author_email, *body_list =
|
|
122
|
-
|
|
121
|
+
rev, parents, title, author, author_email, *body_list = (
|
|
122
|
+
rev_and_commit.splitlines()
|
|
123
123
|
)
|
|
124
124
|
return cls(
|
|
125
125
|
rev=rev.strip(),
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://anaconda.org/conda-forge/commitizen)
|
|
8
8
|
[](https://formulae.brew.sh/formula/commitizen)
|
|
9
9
|
[](https://codecov.io/gh/commitizen-tools/commitizen)
|
|
10
|
-
[](https://github.com/j178/prek)
|
|
11
11
|
|
|
12
12
|

|
|
13
13
|
|
|
@@ -182,7 +182,7 @@ This command is particularly useful for automation scripts and CI/CD pipelines.
|
|
|
182
182
|
|
|
183
183
|
For example, you can use the output of the command `cz changelog --dry-run "$(cz version -p)"` to notify your team about a new release in Slack.
|
|
184
184
|
|
|
185
|
-
#### Pre-commit Integration
|
|
185
|
+
#### Prek and Pre-commit Integration
|
|
186
186
|
|
|
187
187
|
Commitizen can automatically validate your commit messages using pre-commit hooks.
|
|
188
188
|
|
|
@@ -200,7 +200,7 @@ repos:
|
|
|
200
200
|
|
|
201
201
|
2. Install the hooks:
|
|
202
202
|
```sh
|
|
203
|
-
|
|
203
|
+
prek install --hook-type commit-msg --hook-type pre-push
|
|
204
204
|
```
|
|
205
205
|
|
|
206
206
|
| Hook | Recommended Stage |
|
|
@@ -210,7 +210,7 @@ pre-commit install --hook-type commit-msg --hook-type pre-push
|
|
|
210
210
|
|
|
211
211
|
> **Note**: Replace `master` with the [latest tag](https://github.com/commitizen-tools/commitizen/tags) to avoid warnings. You can automatically update this with:
|
|
212
212
|
> ```sh
|
|
213
|
-
>
|
|
213
|
+
> prek autoupdate
|
|
214
214
|
> ```
|
|
215
215
|
|
|
216
216
|
For more details about commit validation, see the [check command documentation](https://commitizen-tools.github.io/commitizen/commands/check/).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "commitizen"
|
|
3
|
-
version = "4.
|
|
3
|
+
version = "4.12.0"
|
|
4
4
|
description = "Python commitizen client tool"
|
|
5
5
|
authors = [{ name = "Santiago Fraire", email = "santiwilly@gmail.com" }]
|
|
6
6
|
maintainers = [
|
|
@@ -107,17 +107,18 @@ test = [
|
|
|
107
107
|
"pytest-freezer>=0.4.6",
|
|
108
108
|
"pytest-xdist>=3.1.0",
|
|
109
109
|
"pytest-gitconfig>=0.9.0",
|
|
110
|
+
"pre-commit>=4.5.1",
|
|
110
111
|
]
|
|
111
112
|
|
|
112
113
|
linters = [
|
|
113
114
|
"ruff>=0.11.5",
|
|
114
|
-
"pre-commit>=3.2.0",
|
|
115
115
|
"mypy>=1.16.0",
|
|
116
116
|
"types-deprecated>=1.2.9.2",
|
|
117
117
|
"types-python-dateutil>=2.8.19.13",
|
|
118
118
|
"types-PyYAML>=5.4.3",
|
|
119
119
|
"types-termcolor>=0.1.1",
|
|
120
120
|
"types-colorama>=0.4.15.20240311",
|
|
121
|
+
"prek>=0.2.28",
|
|
121
122
|
]
|
|
122
123
|
|
|
123
124
|
documentation = ["mkdocs>=1.4.2", "mkdocs-material>=9.1.6"]
|
|
@@ -303,8 +304,8 @@ doc.help = "Live documentation server"
|
|
|
303
304
|
doc.cmd = "mkdocs serve --livereload" # mkdocs hot reload failure workaround. Ref: https://github.com/mkdocs/mkdocs/issues/4032#issuecomment-3591002290
|
|
304
305
|
|
|
305
306
|
ci.help = "Run all tasks in CI"
|
|
306
|
-
ci.sequence = ["check-commit", { cmd = "
|
|
307
|
+
ci.sequence = ["check-commit", { cmd = "prek run --all-files" }, "cover"]
|
|
307
308
|
ci.env = { SKIP = "no-commit-to-branch" }
|
|
308
309
|
|
|
309
310
|
setup-pre-commit.help = "Install pre-commit hooks"
|
|
310
|
-
setup-pre-commit.cmd = "
|
|
311
|
+
setup-pre-commit.cmd = "prek install"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "4.11.5"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{commitizen-4.11.5 → commitizen-4.12.0}/commitizen/cz/conventional_commits/conventional_commits.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|