feat(Actions): added auto linting to main and pull requests fixed some typos

This commit is contained in:
2024-12-21 14:23:46 -07:00
parent b23d807d8d
commit 078bc71bf9
5 changed files with 66 additions and 12 deletions

View File

@ -3,7 +3,6 @@ import json
from filelock import FileLock, Timeout
import time
from NoSheet import NoSheet
import datetime
"""
@ -47,7 +46,7 @@ def ReadDatabase(file_path):
# Group the DataFrame by Date, Start Time, and Slot for organization
for _, row in df.iterrows():
date = str(row['Date'])
date = str(row['Date']).split(" ")[0]
start_time = str(row['Start Time Slot'])
slot = int(row['Slot']) if not pd.isna(row['Slot']) else 0