1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00

removed types from docstrings now that we have type annotations.

note, the return value still needs to be in there.
This commit is contained in:
Bastian Venthur
2022-09-01 10:51:32 +02:00
parent f59a648779
commit 875fd85d65
4 changed files with 40 additions and 32 deletions

View File

@@ -16,14 +16,15 @@ def get_input(question: str, default: str) -> str:
Parameters
----------
question : str
question
the question the user is presented
default : str
default
the default value that will be used if no answer was given
Returns
-------
str
the answer
"""
reply = input(f"{question} [{default}]: ")
@@ -40,7 +41,8 @@ def quickstart(args: argparse.Namespace | None) -> None:
Parameters
----------
args : argparse.Namespace
args
not used
"""
base_url = get_input(