Skip to content

Commit

Permalink
✏️ Fix a few typos in the source and documentation (#1028)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Kirsche <[email protected]>
Co-authored-by: svlandeg <[email protected]>
Co-authored-by: Sofie Van Landeghem <[email protected]>
  • Loading branch information
4 people authored Dec 4, 2024
1 parent 95ba85f commit 3b9ce47
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/help-typer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/options/required.md
Original file line number Diff line number Diff line change
Expand Up @@ -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] *}

Expand Down
10 changes: 5 additions & 5 deletions tests/test_tutorial/test_subcommands/test_tutorial003.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3b9ce47

Please sign in to comment.