Skip to content

Commit 30af2d0

Browse files
authored
📝 Update emoji used in Rich help formatting tutorial (#1429)
1 parent 17c0dce commit 30af2d0

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

docs_src/commands/help/tutorial006.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ def create(username: str):
1414
@app.command()
1515
def delete(username: str):
1616
"""
17-
[red]Delete[/red] a user. :fire:
17+
[red]Delete[/red] a user. :x:
1818
"""
1919
print(f"Deleting user: {username}")
2020

2121

2222
@app.command(rich_help_panel="Utils and Configs")
2323
def config(configuration: str):
2424
"""
25-
[blue]Configure[/blue] the system. :wrench:
25+
[blue]Configure[/blue] the system. :gear:
2626
"""
2727
print(f"Configuring the system with: {configuration}")
2828

@@ -46,7 +46,7 @@ def help():
4646
@app.command(rich_help_panel="Help and Others")
4747
def report():
4848
"""
49-
[yellow]Report[/yellow] an issue. :bug:
49+
[yellow]Report[/yellow] an issue. :exclamation:
5050
"""
5151
print("Please open a new issue online, not a direct message")
5252

docs_src/commands/help/tutorial007.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create(
3030
@app.command(rich_help_panel="Utils and Configs")
3131
def config(configuration: str):
3232
"""
33-
[blue]Configure[/blue] the system. :wrench:
33+
[blue]Configure[/blue] the system. :gear:
3434
"""
3535
print(f"Configuring the system with: {configuration}")
3636

docs_src/commands/help/tutorial007_an.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def create(
3737
@app.command(rich_help_panel="Utils and Configs")
3838
def config(configuration: str):
3939
"""
40-
[blue]Configure[/blue] the system. :wrench:
40+
[blue]Configure[/blue] the system. :gear:
4141
"""
4242
print(f"Configuring the system with: {configuration}")
4343

tests/test_tutorial/test_commands/test_help/test_tutorial006.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ def test_main_help():
1717
assert "create" in result.output
1818
assert "Create a new user. ✨" in result.output
1919
assert "delete" in result.output
20-
assert "Delete a user. 🔥" in result.output
20+
assert "Delete a user. " in result.output
2121
assert "Utils and Configs" in result.output
2222
assert "config" in result.output
23-
assert "Configure the system. 🔧" in result.output
23+
assert "Configure the system. " in result.output
2424
assert "Synchronize the system or something fancy like that. ♻" in result.output
2525
assert "Help and Others" in result.output
2626
assert "Get help with the system. ❓" in result.output
27-
assert "Report an issue. 🐛" in result.output
27+
assert "Report an issue. " in result.output
2828

2929

3030
def test_call():

tests/test_tutorial/test_commands/test_help/test_tutorial007.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_main_help():
1818
assert "Create a new user. ✨" in result.output
1919
assert "Utils and Configs" in result.output
2020
assert "config" in result.output
21-
assert "Configure the system. 🔧" in result.output
21+
assert "Configure the system. " in result.output
2222

2323

2424
def test_create_help():

tests/test_tutorial/test_commands/test_help/test_tutorial007_an.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_main_help():
1818
assert "Create a new user. ✨" in result.output
1919
assert "Utils and Configs" in result.output
2020
assert "config" in result.output
21-
assert "Configure the system. 🔧" in result.output
21+
assert "Configure the system. " in result.output
2222

2323

2424
def test_create_help():

0 commit comments

Comments
 (0)