-
Notifications
You must be signed in to change notification settings - Fork 1
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
Tickets/dm41263: Parameterized OCPS index based on test environment #85
Conversation
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.
Chunks of code here violate the DRY (Don't Repeat Yourself) principle. I'd like to see things refactored to make maintenance easier.
print(f"\nEnabled to Offline; running {num_scripts} scripts") | ||
asyncio.run(script_class.run()) | ||
# Define the script arguments. | ||
parser = argparse.ArgumentParser() |
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.
Line 93 to 105 could be made as function that returns the parsed args to avoid this being duplicated in the other scripts. Makes maintenance easier.
…ased on the test environment.
…ased on the test environment.
…he test environment.
b59a895
to
dc6827b
Compare
bd1d2d9
to
fe19a48
Compare
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.
Looks good to me. Thanks for the updates.
No description provided.