fix: Ignore some types from broken linting
This commit is contained in:
@@ -90,7 +90,7 @@ def timezone():
|
||||
current_time = datetime.datetime.now(tz)
|
||||
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),
|
||||
"ip": getClientIP(request),
|
||||
"status": HTTP_OK,
|
||||
|
||||
@@ -258,7 +258,7 @@ def index():
|
||||
html_url = git["repo"]["html_url"]
|
||||
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 += """
|
||||
<span id=\"time\"></span>
|
||||
|
||||
Reference in New Issue
Block a user