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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user