[Bugfix] Fix pre-commit check (#60840)
Signed-off-by: jiang1.li <jiang1.li@intel.com>
This commit is contained in:
@@ -8,7 +8,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
from datetime import datetime, timezone
|
from datetime import UTC, datetime
|
||||||
from html import escape
|
from html import escape
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any
|
from typing import Any
|
||||||
@@ -501,7 +501,7 @@ def generate_report(
|
|||||||
recommended_concurrency = (concurrency.get("recommended") or {}).get(
|
recommended_concurrency = (concurrency.get("recommended") or {}).get(
|
||||||
"max_concurrency"
|
"max_concurrency"
|
||||||
)
|
)
|
||||||
generated = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC")
|
generated = datetime.now(UTC).strftime("%Y-%m-%d %H:%M UTC")
|
||||||
|
|
||||||
styles = """
|
styles = """
|
||||||
:root { color-scheme: light; --ink: #17324d; --blue: #146c94;
|
:root { color-scheme: light; --ink: #17324d; --blue: #146c94;
|
||||||
|
|||||||
Reference in New Issue
Block a user