Skip to content
Myr

✏ Fix spelling (shinny -> shiny) (#586)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

shinny -> shiny

authored by jmills · committed by GitHub · parent 606df45 · Browse files · 5 files+8 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+8 added−8 removed

  • tests:+4 added−4 removed
  • other:+4 added−4 removed

5 files+8 added−8 removed

modified:docs/tutorial/commands/help.md+2 added-2 removed
209 unmodified lines
210$ python main.py create --help211212<b> </b><font color="#F4BF75"><b>Usage: </b></font><b>main.py create [OPTIONS] USERNAME </b>213<b> </b>214 <font color="#A6E22E"><b>Create</b></font> a new <i>shinny</i> user. ✨214 <font color="#A6E22E"><b>Create</b></font> a new <i>shiny</i> user. ✨215 This requires a <font color="#A5A5A1"><u style="text-decoration-style:single">username</u></font><font color="#A5A5A1">. </font>216217<font color="#A5A5A1">╭─ Arguments ───────────────────────────────────────────────────────╮</font>218<font color="#A5A5A1">│ </font><font color="#F92672">*</font> username <font color="#F4BF75"><b>TEXT</b></font> The username to be <font color="#A6E22E">created</font> │
52 unmodified lines
271$ python main.py create --help272273<b> </b><font color="#F4BF75"><b>Usage: </b></font><b>main.py create [OPTIONS] USERNAME </b>274<b> </b>275 <b>Create</b> a new <i>shinny</i> user. ✨275 <b>Create</b> a new <i>shiny</i> user. ✨276277 <font color="#F4BF75"><b> • </b></font><font color="#A5A5A1">Create a username </font>278 <font color="#F4BF75"><b> • </b></font><font color="#A5A5A1">Show that the username is created </font>279
207 unmodified lines
modified:docs_src/commands/help/tutorial004.py+1 added-1 removed
8 unmodified lines
9 ..., help="The username to be [green]created[/green]"10 )11):12 """13 [bold green]Create[/bold green] a new [italic]shinny[/italic] user. :sparkles:13 [bold green]Create[/bold green] a new [italic]shiny[/italic] user. :sparkles:1415 This requires a [underline]username[/underline].16 """17 print(f"Creating user: {username}")
17 unmodified lines
modified:docs_src/commands/help/tutorial005.py+1 added-1 removed
4 unmodified lines
56@app.command()7def create(username: str = typer.Argument(..., help="The username to be **created**")):8 """9 **Create** a new *shinny* user. :sparkles:9 **Create** a new *shiny* user. :sparkles:1011 * Create a username1213 * Show that the username is created
21 unmodified lines
modified:tests/test_tutorial/test_commands/test_help/test_tutorial004.py+2 added-2 removed
12 unmodified lines
13def test_help():14 result = runner.invoke(app, ["--help"])15 assert result.exit_code == 016 assert "create" in result.output17 assert "Create a new shinny user. ✨" in result.output17 assert "Create a new shiny user. ✨" in result.output18 assert "delete" in result.output19 assert "Delete a user with USERNAME." in result.output20 assert "Some internal utility function to create." not in result.output21 assert "Some internal utility function to delete." not in result.output
1 unmodified line
2324def test_help_create():25 result = runner.invoke(app, ["create", "--help"])26 assert result.exit_code == 027 assert "Create a new shinny user. ✨" in result.output27 assert "Create a new shiny user. ✨" in result.output28 assert "The username to be created" in result.output29 assert "Some internal utility function to create." not in result.output3031
29 unmodified lines
modified:tests/test_tutorial/test_commands/test_help/test_tutorial005.py+2 added-2 removed
12 unmodified lines
13def test_help():14 result = runner.invoke(app, ["--help"])15 assert result.exit_code == 016 assert "create" in result.output17 assert "Create a new shinny user. ✨" in result.output17 assert "Create a new shiny user. ✨" in result.output18 assert "delete" in result.output19 assert "Delete a user with USERNAME." in result.output20 assert "Some internal utility function to create." not in result.output21 assert "Some internal utility function to delete." not in result.output
1 unmodified line
2324def test_help_create():25 result = runner.invoke(app, ["create", "--help"])26 assert result.exit_code == 027 assert "Create a new shinny user. ✨" in result.output27 assert "Create a new shiny user. ✨" in result.output28 assert "The username to be created" in result.output29 assert "Learn more at the Typer docs website" in result.output30 assert "Some internal utility function to create." not in result.output31
30 unmodified lines