refactor: rename functions across codebase for clarity
All checks were successful
CI / Lint (push) Successful in 7s
CI / Test (push) Successful in 5s
CI / Build & Push (push) Successful in 14s

This commit is contained in:
2026-03-29 10:21:01 -04:00
parent a4dc7dff52
commit dd5ac945bd
7 changed files with 70 additions and 69 deletions

18
run.py
View File

@@ -1,13 +1,15 @@
import threading
from app import app
from app.config import PORT
from app.scheduler import schedule_tasks
from app.api import store_scoreboard_data
from app.standings import update_nhl_standings
from waitress import serve
from app import app
from app.api import refresh_scores
from app.config import PORT
from app.scheduler import start_scheduler
from app.standings import refresh_standings
if __name__ == "__main__":
store_scoreboard_data()
update_nhl_standings()
threading.Thread(target=schedule_tasks, daemon=True).start()
refresh_scores()
refresh_standings()
threading.Thread(target=start_scheduler, daemon=True).start()
serve(app, host="0.0.0.0", port=PORT)