mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #147] refactor: extract duplicate weather processing logic #175
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/147
Author: @shash-hq
Created: 1/2/2026
Status: 🔄 Open
Base:
main← Head:fix/code-duplication📝 Commits (6)
bece282Feat: Add Fastest Lap Sectors to Qualifying Leaderboardb21580eFix(data): Add error logging for missing sector data55affd9fix(deps): pin compatible dependencies for python 3.14b132a87fix(cli): use argparse and decouple library logic5872136refactor: extract duplicate weather processing logic8b36736fix(ui): remove detailed sector timings from leaderboard per review📊 Changes
4 files changed (+139 additions, -126 deletions)
View changed files
📝
main.py(+50 -40)📝
requirements.txt(+6 -5)📝
src/f1_data.py(+60 -74)📝
src/ui_components.py(+23 -7)📄 Description
Extracts repeated weather data resampling logic into a _process_weather_data helper function in src/f1_data.py to reduce code duplication.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.