I forgot about the linter

This commit is contained in:
Nikolas
2024-06-21 16:43:57 -07:00
parent 08ab791ac7
commit 8f289cfe4f
2 changed files with 5 additions and 4 deletions

View File

@@ -76,10 +76,10 @@ for i in range(5):
tunings.append(tuning)
end_time = current_time_ms()
score_sum = 0
SCORE_SUM = 0
for score in scores:
score_sum += score
avg_score = round(score_sum / len(scores), 2)
SCORE_SUM += score
avg_score = round(SCORE_SUM / len(scores), 2)
report = {
"start_time": start_time,

View File

@@ -25,6 +25,7 @@ def download_ycruncher():
with ZipFile(destination, 'r') as zip_object:
zip_object.extractall(path=SCRIPT_DIR)
def current_time_ms():
def current_time_ms():
"""Get current timestamp in milliseconds since epoch"""
return int(time.time() * 1000)