diff --git a/semantic_release/repository.py b/semantic_release/repository.py index 4736dcf4..0ce19fe5 100644 --- a/semantic_release/repository.py +++ b/semantic_release/repository.py @@ -123,7 +123,7 @@ def _handle_repository_config(self) -> None: def _create_twine_settings(self, addon_kwargs: Dict[str, Any]) -> TwineSettings: """ Gather all parameters that had a value set during instantiation and - pass them to Twine which then validates and laods the config. + pass them to Twine which then validates and loads the config. """ params = {name: val for name, val in dataclass_asdict(self).items() if val} settings = TwineSettings(**params, **addon_kwargs) @@ -148,7 +148,7 @@ def upload( :raises ImproperConfigurationError: The upload failed due to a configuration error. - :returns True if successfull, False otherwise. + :returns True if successful, False otherwise. """ addon_kwargs = { "non_interactive": True, diff --git a/tests/test_vcs_helpers.py b/tests/test_vcs_helpers.py index ca488cad..655b0705 100644 --- a/tests/test_vcs_helpers.py +++ b/tests/test_vcs_helpers.py @@ -539,7 +539,7 @@ def test_update_changelog_empty_file(mock_git, mocker): def test_update_changelog_file_missing_placeholder(mock_git, mocker): mocker.patch("semantic_release.vcs_helpers.Path.exists", return_value=True) mocked_read_text = mocker.patch( - "semantic_release.vcs_helpers.Path.read_text", return_value="# Uknown header" + "semantic_release.vcs_helpers.Path.read_text", return_value="# Unknown header" ) mocked_write_text = mocker.patch("semantic_release.vcs_helpers.Path.write_text")