Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type hints + simple Pytest + higher precision serial #11

Merged
merged 182 commits into from
Jan 26, 2025

Conversation

LelsersLasers
Copy link
Contributor

@LelsersLasers LelsersLasers commented Jan 15, 2025

No description provided.

Not sure if it is working because I don't understand how to actually test the code without all the boards
Copied the charger template, forgot to switch it out
Result of copying and pasting without looking 🤷
Kinda weird because it makes no calls to HIL.check()
Can use this commit to see all the way normal tests were converted to pytest ones by looking at the modified files in scripts/
Copy link
Contributor

@AdityaAsGithub AdityaAsGithub left a comment

Choose a reason for hiding this comment

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

After these changes I'll tentatively say I approve since we are gonna rewrite the test scripts anyway.

TestBench/TestBench.ino Outdated Show resolved Hide resolved

import hil.utils as utils
if TYPE_CHECKING:
from hil.hil import HIL
Copy link
Contributor

Choose a reason for hiding this comment

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

idk man I didnt' think about this yet @AdityaAsGithub

hil/hil.py Show resolved Hide resolved
hil/hil.py Outdated Show resolved Hide resolved
hil/hil_devices/hil_device_arduino_micro.json Show resolved Hide resolved
Copy link
Contributor

@AdityaAsGithub AdityaAsGithub left a comment

Choose a reason for hiding this comment

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

Approved with the stipulation that the test scripts themselves are getting rewritten soon anyway, so they don't matter for the time being.

@LelsersLasers LelsersLasers merged commit 7306e96 into master Jan 26, 2025
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.

2 participants