1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-26 05:02:58 +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

@@ -30,7 +30,7 @@ def get_last_modified(dirs: list[str]) -> float:
Parameters
----------
dirs : list[str]
dirs
list of directories to search
Returns
@@ -63,7 +63,8 @@ def autoreload(args: argparse.Namespace) -> None:
Parameters
----------
args : argparse.Namespace
args
contains the input-, template- and static dir
"""
dirs = [args.input_dir, args.template_dir, args.static_dir]
@@ -85,7 +86,8 @@ def serve(args: argparse.Namespace) -> None:
Parameters
----------
args : arparse.Namespace
args
contains the input-, template- and static dir
"""
httpd = HTTPServer(('', 8000), partial(SimpleHTTPRequestHandler,