top: Update Python formatting to black "2023 stable style".

See https://black.readthedocs.io/en/stable/the_black_code_style/index.html

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2023-02-02 11:51:48 +11:00
parent fe2a8332ff
commit 8b27482692
75 changed files with 208 additions and 123 deletions

View File

@@ -9,6 +9,7 @@ except ImportError:
print("SKIP")
raise SystemExit
# main task raising an exception
async def main():
print("main start")
@@ -21,6 +22,7 @@ try:
except ValueError as er:
print("ValueError", er.args[0])
# sub-task raising an exception
async def task():
print("task start")
@@ -40,6 +42,7 @@ try:
except ValueError as er:
print("ValueError", er.args[0])
# main task raising an exception with sub-task not yet scheduled
# TODO not currently working, task is never scheduled
async def task():