From 5aac8393bd3a6650b5e1b5af7785bf4a273c2cc4 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Wed, 17 Jan 2024 19:59:06 +0100 Subject: [PATCH] Fix a few typos --- Changelog.rst | 4 ++-- tbump/git_bumper.py | 2 +- tbump/test/test_cli.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Changelog.rst b/Changelog.rst index c2fff53..766a1aa 100644 --- a/Changelog.rst +++ b/Changelog.rst @@ -7,7 +7,7 @@ Changelog * Atomic pushes, introduced in version 6.5, are not supported everywhere. Starting with this release, you can now set ``atomic_push=false`` in the config file to use the old behavior - (pushing the branch and the tag separately). Inital patch by @mlongtin0 + (pushing the branch and the tag separately). Initial patch by @mlongtin0 6.10.0 (2023-05-21) @@ -37,7 +37,7 @@ Other 6.8.0 (2022-03-27) ------------------ -* Allow usage of ``python -m tbump`` in addtion to just ``tbump`` +* Allow usage of ``python -m tbump`` in addition to just ``tbump`` 6.7.0 (2021-12-22) ------------------ diff --git a/tbump/git_bumper.py b/tbump/git_bumper.py index af0c4f7..3b8a21e 100644 --- a/tbump/git_bumper.py +++ b/tbump/git_bumper.py @@ -87,7 +87,7 @@ def get_tag_name(self, new_version: str) -> str: def set_config(self, config: Config) -> None: self.tag_template = config.git_tag_template self.message_template = config.git_message_template - # atomic_push is True by default, and must be explicitely + # atomic_push is True by default, and must be explicitly # disabled in the configuration: if not config.atomic_push: self.atomic_push = False diff --git a/tbump/test/test_cli.py b/tbump/test/test_cli.py index 4f209f6..ea4c1cd 100644 --- a/tbump/test/test_cli.py +++ b/tbump/test/test_cli.py @@ -145,7 +145,7 @@ def test_end_to_end_using_tbump_toml_no_atomic( doc["git"]["atomic_push"] = False # type: ignore[index] tbump_toml.write_text(tomlkit.dumps(doc)) run_git(test_repo, "add", ".") - run_git(test_repo, "commit", "--message", "tbump: do not use atomtic push") + run_git(test_repo, "commit", "--message", "tbump: do not use atomic push") _, previous_commit = run_git_captured(test_repo, "rev-parse", "HEAD") run_tbump(