-
Notifications
You must be signed in to change notification settings - Fork 0
lightweight cli output update #3
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
Conversation
Looks like |
if k in diff_by_key: | ||
assert sign != diff_by_key[k] | ||
diff_by_key[k] = "!" | ||
for i in range(0,len(extra_columns)): |
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.
Better to implement this using zip()
/ safezip()
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.
Thanks for the tip @erezsh that's new to me, I'll try it out.
@erezsh I'll try updating it to add a What do you suggest is the best way to determine that the
What would |
I don't understand the question. The flag exists in main, so it has to be passed along somehow. |
@erezsh ok, I'll figure it out and get back to you. I thought you might know off the top of your head how it is passed along. |
Could keep it simple and do something like:
|
Then there's no need to duplicate the logic in _get_stats() You can add the additional functionality there and just wrap it in an |
My attempt at improving the CLI printout without using any additional python packages.
BEFORE:

AFTER:
