From 3b9ce479086636280271d36e410dc5abdcf318d8 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Wed, 4 Dec 2024 12:33:32 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20a=20few=20typos=20in?= =?UTF-8?q?=20the=20source=20and=20documentation=20(#1028)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kevin Kirsche Co-authored-by: svlandeg Co-authored-by: Sofie Van Landeghem --- docs/help-typer.md | 2 +- docs/tutorial/options/required.md | 2 +- .../test_tutorial/test_subcommands/test_tutorial003.py | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/help-typer.md b/docs/help-typer.md index 26c5cd6474..a80d8c9288 100644 --- a/docs/help-typer.md +++ b/docs/help-typer.md @@ -147,7 +147,7 @@ Here's what to have in mind and how to review a pull request: * Don't worry too much about things like commit message styles, I will squash and merge customizing the commit manually. -* Also don't worry about style rules, there are already automatized tools checking that. +* Also don't worry about style rules, there are already automated tools checking that. And if there's any other style or consistency need, I'll ask directly for that, or I'll add commits on top with the needed changes. diff --git a/docs/tutorial/options/required.md b/docs/tutorial/options/required.md index 06c12844b1..eb28bee200 100644 --- a/docs/tutorial/options/required.md +++ b/docs/tutorial/options/required.md @@ -19,7 +19,7 @@ The same way as with `typer.Argument()`, the old style of using the function par {* docs_src/options/required/tutorial001.py hl[4] *} -Or you can explictily pass `...` to `typer.Option(default=...)`: +Or you can explicitly pass `...` to `typer.Option(default=...)`: {* docs_src/options/required/tutorial002.py hl[4] *} diff --git a/tests/test_tutorial/test_subcommands/test_tutorial003.py b/tests/test_tutorial/test_subcommands/test_tutorial003.py index d109cb47d1..ff30cde28b 100644 --- a/tests/test_tutorial/test_subcommands/test_tutorial003.py +++ b/tests/test_tutorial/test_subcommands/test_tutorial003.py @@ -49,7 +49,7 @@ def test_items_create(app): result = runner.invoke(app, ["items", "create", "Wand"]) assert result.exit_code == 0 assert "Creating item: Wand" in result.output - # For coverage, becauses the monkeypatch above sometimes confuses coverage + # For coverage, because the monkeypatch above sometimes confuses coverage result = runner.invoke(items.app, ["create", "Wand"]) assert result.exit_code == 0 assert "Creating item: Wand" in result.output @@ -59,7 +59,7 @@ def test_items_sell(app): result = runner.invoke(app, ["items", "sell", "Vase"]) assert result.exit_code == 0 assert "Selling item: Vase" in result.output - # For coverage, becauses the monkeypatch above sometimes confuses coverage + # For coverage, because the monkeypatch above sometimes confuses coverage result = runner.invoke(items.app, ["sell", "Vase"]) assert result.exit_code == 0 assert "Selling item: Vase" in result.output @@ -69,7 +69,7 @@ def test_items_delete(app): result = runner.invoke(app, ["items", "delete", "Vase"]) assert result.exit_code == 0 assert "Deleting item: Vase" in result.output - # For coverage, becauses the monkeypatch above sometimes confuses coverage + # For coverage, because the monkeypatch above sometimes confuses coverage result = runner.invoke(items.app, ["delete", "Vase"]) assert result.exit_code == 0 assert "Deleting item: Vase" in result.output @@ -89,7 +89,7 @@ def test_users_create(app): result = runner.invoke(app, ["users", "create", "Camila"]) assert result.exit_code == 0 assert "Creating user: Camila" in result.output - # For coverage, becauses the monkeypatch above sometimes confuses coverage + # For coverage, because the monkeypatch above sometimes confuses coverage result = runner.invoke(users.app, ["create", "Camila"]) assert result.exit_code == 0 assert "Creating user: Camila" in result.output @@ -99,7 +99,7 @@ def test_users_delete(app): result = runner.invoke(app, ["users", "delete", "Camila"]) assert result.exit_code == 0 assert "Deleting user: Camila" in result.output - # For coverage, becauses the monkeypatch above sometimes confuses coverage + # For coverage, because the monkeypatch above sometimes confuses coverage result = runner.invoke(users.app, ["delete", "Camila"]) assert result.exit_code == 0 assert "Deleting user: Camila" in result.output