Skip to content

Commit 503ec95

Browse files
committed
Add type hints to runner.py
1 parent bd27858 commit 503ec95

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

runner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
_RUNNER_MAIN = "main"
1414

1515

16-
def success_text(text):
16+
def success_text(text) -> str:
1717
"""Get success text."""
1818
return f"{_STYLE_SUCCESS}{bold_text(text)}{_STYLE_END}"
1919

2020

21-
def bold_text(text):
21+
def bold_text(text) -> str:
2222
"""Get bold text."""
2323
return f"{_STYLE_BOLD}{text}{_STYLE_END}"
2424

2525

26-
def main():
26+
def main() -> None:
2727
print(bold_text(f"Start {root_name} runner"))
2828

2929
for item in walk_packages(root_path, f"{root_name}."):

0 commit comments

Comments
 (0)