Skip to content

Conversation

coderkalyan
Copy link
Contributor

This is the tooling part of #19489, rebased and cherry-picked so it can be reviewed and merged easily before we finish the rest of the parameter migration.

@bkueng Would appreciate a review from you, I don't have permissions to mark it on the PR itself though.
FYI @dagar

A little bit of code cleanup in preparation for using srcparser to
migrate the c parameter files to yaml definitions.

* dataclasses
* PEP 8-ish
Fixes a bug where any boolean tag that exists, whether or not the value
is actually true, is recorded as true in parameter generation.
default_port_str = port_config['default']

if default_port_str != "":
if default_port_str != "" and default_port_str != 0:
Copy link
Member

Choose a reason for hiding this comment

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

Didn't you mention that this wasn't needed anymore?

@junwoo091400
Copy link
Contributor

@coderkalyan Thanks for this contribution! Could you resolve the merge conflict & apply the requested changes?

@coderkalyan
Copy link
Contributor Author

@junwoo091400 once again I forgot about this PR :) Sure thing, I'll review the changes when I get a chance and rebase.

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.

4 participants