Skip to content

Commit 3717e0d

Browse files
authoredOct 1, 2022
docs: correct spelling mistakes (#504)
1 parent cfd8335 commit 3717e0d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎semantic_release/repository.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _handle_repository_config(self) -> None:
123123
def _create_twine_settings(self, addon_kwargs: Dict[str, Any]) -> TwineSettings:
124124
"""
125125
Gather all parameters that had a value set during instantiation and
126-
pass them to Twine which then validates and laods the config.
126+
pass them to Twine which then validates and loads the config.
127127
"""
128128
params = {name: val for name, val in dataclass_asdict(self).items() if val}
129129
settings = TwineSettings(**params, **addon_kwargs)
@@ -148,7 +148,7 @@ def upload(
148148
:raises ImproperConfigurationError:
149149
The upload failed due to a configuration error.
150150
151-
:returns True if successfull, False otherwise.
151+
:returns True if successful, False otherwise.
152152
"""
153153
addon_kwargs = {
154154
"non_interactive": True,

‎tests/test_vcs_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def test_update_changelog_empty_file(mock_git, mocker):
539539
def test_update_changelog_file_missing_placeholder(mock_git, mocker):
540540
mocker.patch("semantic_release.vcs_helpers.Path.exists", return_value=True)
541541
mocked_read_text = mocker.patch(
542-
"semantic_release.vcs_helpers.Path.read_text", return_value="# Uknown header"
542+
"semantic_release.vcs_helpers.Path.read_text", return_value="# Unknown header"
543543
)
544544
mocked_write_text = mocker.patch("semantic_release.vcs_helpers.Path.write_text")
545545

0 commit comments

Comments
 (0)
Please sign in to comment.