commitizen 4.19.3__py3-none-any.whl → 4.19.4__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.3"
1
+ __version__ = "4.19.4"
@@ -38,7 +38,7 @@ class CommitArgs(TypedDict, total=False):
38
38
  edit: bool
39
39
  extra_cli_args: list[str]
40
40
  message_length_limit: int
41
- body_length_limit: int
41
+ body_length_limit: int | None
42
42
  no_retry: bool
43
43
  signoff: bool
44
44
  write_message_to_file: Path | None
@@ -109,9 +109,9 @@ class Commit:
109
109
  Wrap the body of the commit message to the --body-length-limit length.
110
110
  """
111
111
 
112
- body_length_limit = self.arguments.get(
113
- "body_length_limit", self.config.settings["body_length_limit"]
114
- )
112
+ body_length_limit = self.arguments.get("body_length_limit")
113
+ if body_length_limit is None:
114
+ body_length_limit = self.config.settings["body_length_limit"]
115
115
  # By the contract, body_length_limit is set to 0 for no limit
116
116
  if not body_length_limit or body_length_limit <= 0:
117
117
  return message
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitizen
3
- Version: 4.19.3
3
+ Version: 4.19.4
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=5Vi6BZz4a6oqrzQGjzmyTG83aQEsQ4phAok-gq778TM,23
3
+ commitizen/__version__.py,sha256=6g3qPPkRlrNPsbTxwSR86U38AWJlXD0jZwS-h9jVL4A,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
@@ -15,7 +15,7 @@ commitizen/commands/__init__.py,sha256=gdk5ehql39YCuUZ03HdXWAJhRUwTe0J4A74S1K5K7
15
15
  commitizen/commands/bump.py,sha256=5rPV6TTXoZBCmt7MhGfU6sbJDo9VY7du4Q-SIlcY8jQ,17186
16
16
  commitizen/commands/changelog.py,sha256=1qMQIkN8DqZvm5n32zDcoDTfBQgNi2VEUIBdjKoQi5s,11893
17
17
  commitizen/commands/check.py,sha256=V0BAMNChxg9EqTMHcql0xZUbnG9NVrO35YqShCxlFmA,5811
18
- commitizen/commands/commit.py,sha256=rCix6BRpcCzCPQPj_y5MSa0NbuCl4wndUMZG6YLf9zU,7555
18
+ commitizen/commands/commit.py,sha256=X-po_n2DrGE2BNv5ZoIKon6tKNJVg08wJ_I-7_iiHEU,7609
19
19
  commitizen/commands/example.py,sha256=-pWBjDA2I-dtAHickbkeis08xnFSuBxM2YLBm_Hm0sY,389
20
20
  commitizen/commands/info.py,sha256=P009ymylWiwr02p-swky7v1QXZTeOf2wT7jdHkZXAgg,375
21
21
  commitizen/commands/init.py,sha256=U4frtXosNjvBO4NwlSMt_BUIf-6aom6KhOGRKxGHB4Q,13862
@@ -67,8 +67,8 @@ commitizen/templates/CHANGELOG.rst.j2,sha256=XHh4a7S83Z5Vrd_0UaLDA1Bb7A82Px4eHcb
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.3.dist-info/licenses/LICENSE,sha256=fcwnXedHaDQQEjgNZZgiCm3fXZBrs99zmEtifqe-pE0,1065
71
- commitizen-4.19.3.dist-info/WHEEL,sha256=si2p8vW03RnhyBnhWl4tj-ObJa78SpE-c9HsEtblGR0,80
72
- commitizen-4.19.3.dist-info/entry_points.txt,sha256=EpbOUAABRQCFhf2HFcmrJZLGsbB_MSJ-tFua-NxUCxE,1085
73
- commitizen-4.19.3.dist-info/METADATA,sha256=HLBEwf0vhzFp_xR9HcaXkUG1B06Lh5V6TKPXK9TYljk,12299
74
- commitizen-4.19.3.dist-info/RECORD,,
70
+ commitizen-4.19.4.dist-info/licenses/LICENSE,sha256=fcwnXedHaDQQEjgNZZgiCm3fXZBrs99zmEtifqe-pE0,1065
71
+ commitizen-4.19.4.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
72
+ commitizen-4.19.4.dist-info/entry_points.txt,sha256=EpbOUAABRQCFhf2HFcmrJZLGsbB_MSJ-tFua-NxUCxE,1085
73
+ commitizen-4.19.4.dist-info/METADATA,sha256=g1MoAEOQGf-yLNUsaSZHf95sBCOLIY5kAJntW_U_juM,12299
74
+ commitizen-4.19.4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.13.5
2
+ Generator: uv 0.13.9
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any