Skip to content

Commit e98eb2b

Browse files
committed
fix: Succesfully ran test for black, isort, flake8, mypy and pytest
1 parent db516b9 commit e98eb2b

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55
import typer
6-
from commands import hello, list, show, version, search
6+
from commands import hello, list, show, search, version
77

88
app = typer.Typer(help="101 Linux Commands CLI 🚀")
99
app.add_typer(hello.app, name="hello")

cli/commands/search.py

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import typer
21
from typing import Dict, List
32

3+
import typer
4+
45
app = typer.Typer(
5-
help=(
6-
"Search available commands by keyword "
7-
"(name or description)."
8-
)
6+
help=("Search available commands by keyword " "(name or description).")
97
)
108

119

@@ -27,19 +25,13 @@ def _get_available_commands() -> List[Dict[str, str]]:
2725
},
2826
{
2927
"name": "cat",
30-
"description": (
31-
"Concatenate files and print on the standard "
32-
"output"
33-
),
28+
"description": ("Concatenate files and print on the standard " "output"),
3429
},
3530
{"name": "head", "description": "Output the first part of files"},
3631
{"name": "tail", "description": "Output the last part of files"},
3732
{
3833
"name": "sed",
39-
"description": (
40-
"Stream editor for filtering and transforming "
41-
"text"
42-
),
34+
"description": ("Stream editor for filtering and transforming " "text"),
4335
},
4436
]
4537

0 commit comments

Comments
 (0)