commitizen 4.19.1__tar.gz → 4.19.2__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.19.1 → commitizen-4.19.2}/PKG-INFO +1 -1
- commitizen-4.19.2/commitizen/__version__.py +1 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/tags.py +5 -2
- {commitizen-4.19.1 → commitizen-4.19.2}/pyproject.toml +1 -1
- {commitizen-4.19.1 → commitizen-4.19.2}/pyproject.toml.orig +1 -1
- commitizen-4.19.1/commitizen/__version__.py +0 -1
- {commitizen-4.19.1 → commitizen-4.19.2}/LICENSE +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/__main__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/bump.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog_formats/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog_formats/asciidoc.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog_formats/base.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog_formats/markdown.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog_formats/restructuredtext.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/changelog_formats/textile.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cli.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cmd.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/bump.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/changelog.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/check.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/commit.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/example.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/info.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/init.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/list_cz.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/schema.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/commands/version.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/config/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/config/base_config.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/config/factory.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/config/json_config.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/config/toml_config.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/config/yaml_config.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/base.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/conventional_commits/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/conventional_commits/conventional_commits.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/conventional_commits/conventional_commits_info.txt +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/customize/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/customize/customize.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/customize/customize_info.txt +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/exceptions.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/jira/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/jira/jira.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/jira/jira_info.txt +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/cz/utils.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/defaults.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/exceptions.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/factory.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/git.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/hooks.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/out.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/project_info.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/__init__.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/base_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/cargo_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/commitizen_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/composer_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/npm_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/pep621_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/poetry_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/scm_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/providers/uv_provider.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/py.typed +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/question.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/templates/CHANGELOG.adoc.j2 +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/templates/CHANGELOG.md.j2 +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/templates/CHANGELOG.rst.j2 +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/templates/CHANGELOG.textile.j2 +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/version_increment.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/commitizen/version_schemes.py +0 -0
- {commitizen-4.19.1 → commitizen-4.19.2}/docs/README.md +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "4.19.2"
|
|
@@ -127,15 +127,18 @@ class TagRules:
|
|
|
127
127
|
if `warn` is `True`, it will print a warning message if the tag is not a version tag.
|
|
128
128
|
"""
|
|
129
129
|
tag = tag.name if isinstance(tag, GitTag) else tag
|
|
130
|
+
if self.is_ignored_tag(tag):
|
|
131
|
+
return False
|
|
132
|
+
|
|
130
133
|
is_legit = any(regex.fullmatch(tag) for regex in self.version_regexes)
|
|
131
|
-
if warn and not is_legit
|
|
134
|
+
if warn and not is_legit:
|
|
132
135
|
out.warn(self._version_tag_error(tag))
|
|
133
136
|
return is_legit
|
|
134
137
|
|
|
135
138
|
def is_ignored_tag(self, tag: str | GitTag) -> bool:
|
|
136
139
|
"""True if a given tag can be ignored"""
|
|
137
140
|
tag = tag.name if isinstance(tag, GitTag) else tag
|
|
138
|
-
return any(regex.
|
|
141
|
+
return any(regex.fullmatch(tag) for regex in self.ignored_regexes)
|
|
139
142
|
|
|
140
143
|
def get_version_tags(
|
|
141
144
|
self, tags: Iterable[GitTag], warn: bool = False
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "4.19.1"
|
|
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.19.1 → commitizen-4.19.2}/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
|
|
File without changes
|