Skip to content

Fix/refactor codebase#24

Merged
lkr33 merged 7 commits into
masterfrom
fix/refactor-codebase
Feb 8, 2026
Merged

Fix/refactor codebase#24
lkr33 merged 7 commits into
masterfrom
fix/refactor-codebase

Conversation

@ZGeek03
Copy link
Copy Markdown
Collaborator

@ZGeek03 ZGeek03 commented Feb 5, 2026

Closes #18

I apologize in advance for such a monster PR, I got a bit carried away with the refactor.

The code base is in a very testable and extensible form now, and is nearly fully covered by unit testing. The refactor did a few things:

  • Pulled remaining functionality out of main.py into separate classes
  • refactored the data sending, both local and remote, into a data_transmitter.py class structure
  • Refactored unit tests to align with the new changes
  • Ran ruff format which caused a lot of minor changes throughout
  • Added comment blocks to most of our classes and functions

A lot of the line changes are actually a result of running ruff formatting and linting on the repository. The actual changes I implemented are a lot less than it seems.

@ZGeek03 ZGeek03 linked an issue Feb 5, 2026 that may be closed by this pull request
4 tasks
@ZGeek03
Copy link
Copy Markdown
Collaborator Author

ZGeek03 commented Feb 5, 2026

This has been tested locally, but it has not been tested on the cars yet. I will be doing production testing on Saturday.

Comment thread src/utils.py
@ZGeek03 ZGeek03 requested a review from lkr33 February 8, 2026 03:47
Copy link
Copy Markdown
Contributor

@lkr33 lkr33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lkr33 lkr33 merged commit 66b7186 into master Feb 8, 2026
1 check passed
@ZGeek03 ZGeek03 deleted the fix/refactor-codebase branch April 10, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make codebase more testable

2 participants