commitizen 4.13.7__tar.gz → 4.13.9__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.13.7 → commitizen-4.13.9}/PKG-INFO +2 -2
- commitizen-4.13.9/commitizen/__version__.py +1 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog.py +1 -1
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/config/json_config.py +4 -1
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/config/yaml_config.py +1 -1
- {commitizen-4.13.7 → commitizen-4.13.9}/docs/README.md +1 -1
- {commitizen-4.13.7 → commitizen-4.13.9}/pyproject.toml +6 -3
- commitizen-4.13.7/commitizen/__version__.py +0 -1
- {commitizen-4.13.7 → commitizen-4.13.9}/LICENSE +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/__main__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/bump.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog_formats/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog_formats/asciidoc.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog_formats/base.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog_formats/markdown.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog_formats/restructuredtext.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/changelog_formats/textile.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cli.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cmd.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/bump.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/changelog.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/check.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/commit.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/example.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/info.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/init.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/list_cz.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/schema.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/commands/version.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/config/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/config/base_config.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/config/factory.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/config/toml_config.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/base.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/conventional_commits/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/conventional_commits/conventional_commits.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/conventional_commits/conventional_commits_info.txt +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/customize/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/customize/customize.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/customize/customize_info.txt +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/exceptions.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/jira/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/jira/jira.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/jira/jira_info.txt +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/cz/utils.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/defaults.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/exceptions.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/factory.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/git.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/hooks.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/out.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/project_info.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/__init__.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/base_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/cargo_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/commitizen_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/composer_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/npm_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/pep621_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/poetry_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/scm_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/providers/uv_provider.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/py.typed +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/question.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/tags.py +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/templates/CHANGELOG.adoc.j2 +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/templates/CHANGELOG.md.j2 +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/templates/CHANGELOG.rst.j2 +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/templates/CHANGELOG.textile.j2 +0 -0
- {commitizen-4.13.7 → commitizen-4.13.9}/commitizen/version_schemes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: commitizen
|
|
3
|
-
Version: 4.13.
|
|
3
|
+
Version: 4.13.9
|
|
4
4
|
Summary: Python commitizen client tool
|
|
5
5
|
Keywords: commitizen,conventional,commits,git
|
|
6
6
|
Author: Santiago Fraire
|
|
@@ -75,7 +75,7 @@ Description-Content-Type: text/markdown
|
|
|
75
75
|
[](https://codecov.io/gh/commitizen-tools/commitizen)
|
|
76
76
|
[](https://github.com/j178/prek)
|
|
77
77
|
|
|
78
|
-

|
|
79
79
|
|
|
80
80
|
---
|
|
81
81
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "4.13.9"
|
|
@@ -193,7 +193,7 @@ def process_commit_message(
|
|
|
193
193
|
messages = [processed_msg] if isinstance(processed_msg, dict) else processed_msg
|
|
194
194
|
for msg in messages:
|
|
195
195
|
change_type = msg.pop("change_type", None)
|
|
196
|
-
if change_type_map:
|
|
196
|
+
if change_type_map and change_type:
|
|
197
197
|
change_type = change_type_map.get(change_type, change_type)
|
|
198
198
|
ref_changes[change_type].append(msg)
|
|
199
199
|
|
|
@@ -27,7 +27,10 @@ class JsonConfig(BaseConfig):
|
|
|
27
27
|
|
|
28
28
|
def contains_commitizen_section(self) -> bool:
|
|
29
29
|
with self.path.open("rb") as json_file:
|
|
30
|
-
|
|
30
|
+
try:
|
|
31
|
+
config_doc = json.load(json_file)
|
|
32
|
+
except json.JSONDecodeError:
|
|
33
|
+
return False
|
|
31
34
|
return config_doc.get("commitizen") is not None
|
|
32
35
|
|
|
33
36
|
def init_empty_config_content(self) -> None:
|
|
@@ -35,7 +35,7 @@ class YAMLConfig(BaseConfig):
|
|
|
35
35
|
def contains_commitizen_section(self) -> bool:
|
|
36
36
|
with self.path.open("rb") as yaml_file:
|
|
37
37
|
config_doc = yaml.load(yaml_file, Loader=yaml.FullLoader)
|
|
38
|
-
return config_doc.get("commitizen") is not None
|
|
38
|
+
return config_doc is not None and config_doc.get("commitizen") is not None
|
|
39
39
|
|
|
40
40
|
def _parse_setting(self, data: bytes | str) -> None:
|
|
41
41
|
"""We expect to have a section in cz.yaml looking like
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://codecov.io/gh/commitizen-tools/commitizen)
|
|
10
10
|
[](https://github.com/j178/prek)
|
|
11
11
|
|
|
12
|
-

|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "commitizen"
|
|
3
|
-
version = "4.13.
|
|
3
|
+
version = "4.13.9"
|
|
4
4
|
description = "Python commitizen client tool"
|
|
5
5
|
authors = [{ name = "Santiago Fraire", email = "santiwilly@gmail.com" }]
|
|
6
6
|
maintainers = [
|
|
@@ -252,7 +252,7 @@ known-first-party = ["commitizen", "tests"]
|
|
|
252
252
|
convention = "google"
|
|
253
253
|
|
|
254
254
|
[tool.mypy]
|
|
255
|
-
files = ["commitizen", "tests"]
|
|
255
|
+
files = ["commitizen", "tests", "scripts"]
|
|
256
256
|
disallow_untyped_decorators = true
|
|
257
257
|
disallow_subclassing_any = true
|
|
258
258
|
warn_return_any = true
|
|
@@ -302,7 +302,10 @@ all.help = "Run all tasks"
|
|
|
302
302
|
all.sequence = ["format", "lint", "check-commit", "cover"]
|
|
303
303
|
|
|
304
304
|
"doc:screenshots".help = "Render documentation screenshots"
|
|
305
|
-
"doc:screenshots".
|
|
305
|
+
"doc:screenshots".parallel = [
|
|
306
|
+
{ script = "scripts.gen_cli_help_screenshots:gen_cli_help_screenshots" },
|
|
307
|
+
{ script = "scripts.gen_cli_interactive_gifs:gen_cli_interactive_gifs" },
|
|
308
|
+
]
|
|
306
309
|
|
|
307
310
|
"doc:build".help = "Build the documentation"
|
|
308
311
|
"doc:build".cmd = "mkdocs build"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "4.13.7"
|
|
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.13.7 → commitizen-4.13.9}/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
|
|
File without changes
|
|
File without changes
|