-
Notifications
You must be signed in to change notification settings - Fork 61
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
chore: refactor new-client.py #2422
Conversation
|
|
from pathlib import Path | ||
|
||
|
||
def repo_level_post_process( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we write unit tests for new Python scripts if possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to what @diegomarquezp did in his PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I add unit tests after #2342 is merged since the python unit test infrastructure is setup in that PR.
Also, I still need another PR to refactor generate_repo.py
and I'll include more unit tests and integration tests in that PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JoeWang1127 I added a few units for ClientInputs
in #2342
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that I'm moving ClientInputs
to library_generation/model
since it defines a structural class. Better wait for mine to get merged
Absolved by #2431 |
In this PR:
new-client.py
togenerate_repo.py
repo_level_post_processor.py
).This is part of milestone 2 of hermetic build project.