Skip to content

Commit c91591d

Browse files
committed
- Fixed AI review notes.
1 parent 3e653dc commit c91591d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

release_notes_generator/action_inputs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
)
5353
from release_notes_generator.utils.enums import DuplicityScopeEnum
5454
from release_notes_generator.utils.gh_action import get_action_input
55-
from release_notes_generator.utils.utils import _normalize_version_tag
55+
from release_notes_generator.utils.utils import normalize_version_tag
5656

5757
logger = logging.getLogger(__name__)
5858

@@ -121,15 +121,15 @@ def get_tag_name() -> str:
121121
Get the tag name from the action inputs.
122122
"""
123123
raw = get_action_input(TAG_NAME) or ""
124-
return _normalize_version_tag(raw)
124+
return normalize_version_tag(raw)
125125

126126
@staticmethod
127127
def get_from_tag_name() -> str:
128128
"""
129129
Get the from-tag name from the action inputs.
130130
"""
131131
raw = get_action_input(FROM_TAG_NAME, default="")
132-
return _normalize_version_tag(raw) # type: ignore[arg-type]
132+
return normalize_version_tag(raw) # type: ignore[arg-type]
133133

134134
@staticmethod
135135
def is_from_tag_name_defined() -> bool:

release_notes_generator/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_change_url(
7171
)
7272

7373

74-
def _normalize_version_tag(tag: str) -> str:
74+
def normalize_version_tag(tag: str) -> str:
7575
"""
7676
Normalize a tag to full 'vMAJOR.MINOR.PATCH' form.
7777

0 commit comments

Comments
 (0)