mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use ruff
to enforce python code formatting (#37117)
Requires servo/servo#37045 for deps and config. Testing: No need for tests to test tests. Fixes: servo/servo#37041 --------- Signed-off-by: zefr0x <zer0-x.7ty50@aleeas.com>
This commit is contained in:
parent
41ecfb53a1
commit
c96de69e80
67 changed files with 3021 additions and 3085 deletions
|
@ -24,7 +24,7 @@ TEST_CMD = [
|
|||
"--log-raw=-",
|
||||
# We run the content-security-policy test because it creates
|
||||
# cross-origin iframes, which are good for stress-testing pipelines
|
||||
"content-security-policy"
|
||||
"content-security-policy",
|
||||
]
|
||||
|
||||
# Note that there will probably be test failures caused
|
||||
|
@ -35,7 +35,7 @@ test_results = Popen(TEST_CMD, stdout=PIPE)
|
|||
any_crashes = False
|
||||
|
||||
for line in test_results.stdout:
|
||||
report = json.loads(line.decode('utf-8'))
|
||||
report = json.loads(line.decode("utf-8"))
|
||||
if report.get("action") == "process_output":
|
||||
print("{} - {}".format(report.get("thread"), report.get("data")))
|
||||
status = report.get("status")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue