fix: Ignore some types from broken linting
All checks were successful
Build Docker / BuildImage (push) Successful in 41s
Check Code Quality / RuffCheck (push) Successful in 53s

This commit is contained in:
2026-03-04 20:13:10 +11:00
parent 8ba8962cb8
commit bfaa83021f
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ def timezone():
current_time = datetime.datetime.now(tz) current_time = datetime.datetime.now(tz)
return jsonify( return jsonify(
{ {
"timezone": tz.utcoffset(current_time).total_seconds() / 3600, "timezone": tz.utcoffset(current_time).total_seconds() / 3600, # type: ignore
"timezone_name": tz.tzname(current_time), "timezone_name": tz.tzname(current_time),
"ip": getClientIP(request), "ip": getClientIP(request),
"status": HTTP_OK, "status": HTTP_OK,

View File

@@ -258,7 +258,7 @@ def index():
html_url = git["repo"]["html_url"] html_url = git["repo"]["html_url"]
repo = '<a href="' + html_url + '" target="_blank">' + repo_name + "</a>" repo = '<a href="' + html_url + '" target="_blank">' + repo_name + "</a>"
timezone_offset = TZ.utcoffset(datetime.datetime.now()).total_seconds() / 3600 timezone_offset = TZ.utcoffset(datetime.datetime.now()).total_seconds() / 3600 # type: ignore
time = datetime.datetime.now().strftime("%B %d") time = datetime.datetime.now().strftime("%B %d")
time += """ time += """
<span id=\"time\"></span> <span id=\"time\"></span>