commitizen 4.19.1__py3-none-any.whl → 4.19.2__py3-none-any.whl

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/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "4.19.1"
1
+ __version__ = "4.19.2"
commitizen/tags.py CHANGED
@@ -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 and not self.is_ignored_tag(tag):
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.match(tag) for regex in self.ignored_regexes)
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitizen
3
- Version: 4.19.1
3
+ Version: 4.19.2
4
4
  Summary: Python commitizen client tool
5
5
  Keywords: commitizen,conventional,commits,git
6
6
  Author: Santiago Fraire
@@ -1,6 +1,6 @@
1
1
  commitizen/__init__.py,sha256=oOBG9f3DtTPmFnqXnwvuh1XIw9kqf_-cyrFYlRaZ1fQ,593
2
2
  commitizen/__main__.py,sha256=ythPim4R6rgC0zU9siklq1oSbkk2HlbiNpwwoegk8uE,71
3
- commitizen/__version__.py,sha256=65owfFmS8BSJIwpQ0kY1Hd75WIgZlCpCf-NZJ7WyvT8,23
3
+ commitizen/__version__.py,sha256=CvFHe0QOxUnbCgl5Ka_G1CiQLjN5XlYkarfNU0RnU5E,23
4
4
  commitizen/bump.py,sha256=eSF3Fb-5IhkpRmPgbwpWco-772kD6UAa1sDfnBEN2hY,3086
5
5
  commitizen/changelog.py,sha256=U8XphsPUVhWpg9Ms1YIOybTlRNQAktVmAfqLyxDFfvc,11294
6
6
  commitizen/changelog_formats/__init__.py,sha256=ZkxdmGybxWTzQZbt5KTJdAdbdKx0-v3aXtNDC-efRQk,3369
@@ -60,15 +60,15 @@ commitizen/providers/scm_provider.py,sha256=7c4rGqW99lVwyqZApRgHc-Upm-69mqd8uZ_s
60
60
  commitizen/providers/uv_provider.py,sha256=UgPtkAsX2HcP9-O6xJ2r-ArGSJz_j9Y5EXuh8-Hh4P4,1443
61
61
  commitizen/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  commitizen/question.py,sha256=J6_fzWghr_irzpPUU5JUsIBgDHp4Adryx8XmZAo4Zj4,624
63
- commitizen/tags.py,sha256=To_bkJDCEJd83jDtz-fGK5OGtZTJPSyPqaIRmLSu2_A,10178
63
+ commitizen/tags.py,sha256=x0GMBG5b5Rd5Z0xAj9SvYyg7vntosYFMPrieeQCsXCM,10212
64
64
  commitizen/templates/CHANGELOG.adoc.j2,sha256=LIJZ1vBl2ZFq0hbORMjWi0DJtuYC7S3t8RBuVJ6XZsY,403
65
65
  commitizen/templates/CHANGELOG.md.j2,sha256=MggRrhbL3EabwsH8v0oFMM8G296ATBzePaqumBvW2kc,405
66
66
  commitizen/templates/CHANGELOG.rst.j2,sha256=XHh4a7S83Z5Vrd_0UaLDA1Bb7A82Px4eHcbHsZGKYF8,515
67
67
  commitizen/templates/CHANGELOG.textile.j2,sha256=8JxCcDdgQUmNPxXFEv5IpbP_vcfvYCo5CSicNCZmFCY,404
68
68
  commitizen/version_increment.py,sha256=WKRvi8no-svlmU876REnqfggsXZFduPQ31mUvEaykvs,5113
69
69
  commitizen/version_schemes.py,sha256=_sm1whwldpZgqM7vdrnuGvI9nWikPJVEKm8AfHL-9vQ,13697
70
- commitizen-4.19.1.dist-info/licenses/LICENSE,sha256=fcwnXedHaDQQEjgNZZgiCm3fXZBrs99zmEtifqe-pE0,1065
71
- commitizen-4.19.1.dist-info/WHEEL,sha256=rp-k_VZaX8oABFEtLwG_Df95p8LSKt9-uPyQ4jKH0P4,81
72
- commitizen-4.19.1.dist-info/entry_points.txt,sha256=EpbOUAABRQCFhf2HFcmrJZLGsbB_MSJ-tFua-NxUCxE,1085
73
- commitizen-4.19.1.dist-info/METADATA,sha256=XrvmGvsmwEeEpdDNY1_m2XELqB3Zx0zQPsS7z4lgD44,12299
74
- commitizen-4.19.1.dist-info/RECORD,,
70
+ commitizen-4.19.2.dist-info/licenses/LICENSE,sha256=fcwnXedHaDQQEjgNZZgiCm3fXZBrs99zmEtifqe-pE0,1065
71
+ commitizen-4.19.2.dist-info/WHEEL,sha256=cmC5s21ojypbVslldL7IJq3hjZH-tINy4rziKePFsG0,81
72
+ commitizen-4.19.2.dist-info/entry_points.txt,sha256=EpbOUAABRQCFhf2HFcmrJZLGsbB_MSJ-tFua-NxUCxE,1085
73
+ commitizen-4.19.2.dist-info/METADATA,sha256=7-aNUhb_cQ-iV0OZNoudchcS6NcnJZymgKvqHAIwmAk,12299
74
+ commitizen-4.19.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.12.22
2
+ Generator: uv 0.12.23
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any