mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Everywhere: Format all python files with black
This commit is contained in:
parent
9e8336c04f
commit
2f9957c618
Notes:
github-actions[bot]
2025-05-22 14:22:50 +00:00
Author: https://github.com/trflynn89
Commit: 2f9957c618
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4841
Reviewed-by: https://github.com/gmta ✅
18 changed files with 338 additions and 350 deletions
|
@ -54,7 +54,7 @@ def create_test(test_name: str, test_type: str, is_async: bool = False) -> None:
|
|||
"""
|
||||
|
||||
if test_type == "Text":
|
||||
input_boilerplate = fR"""<!DOCTYPE html>
|
||||
input_boilerplate = Rf"""<!DOCTYPE html>
|
||||
<script src="{path_to_include_js}"></script>
|
||||
<script>
|
||||
{f"asyncTest(async (done)" if is_async else "test(()"} => {{
|
||||
|
@ -66,7 +66,7 @@ def create_test(test_name: str, test_type: str, is_async: bool = False) -> None:
|
|||
expected_boilerplate = "Expected println() output\n"
|
||||
|
||||
elif test_type == "Ref":
|
||||
input_boilerplate = fR"""<!DOCTYPE html>
|
||||
input_boilerplate = Rf"""<!DOCTYPE html>
|
||||
<head>
|
||||
<link rel="match" href="{"../" * num_sub_levels}../expected/{Path(test_name).with_suffix("")}-ref.html" />
|
||||
<style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue