Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✏️ Fix a few typos in the source and documentation #1028

Merged
merged 3 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -31,7 +31,7 @@ The same way as with `typer.Argument()`, the old style of using the function par

////

Or you can explictily pass `...` to `typer.Option(default=...)`:
Or you can explicitly pass `...` to `typer.Option(default=...)`:

//// tab | Python 3.7+ non-Annotated

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
Loading