-
Notifications
You must be signed in to change notification settings - Fork 76
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
change list command output from tabulate to rich tables #359
base: main
Are you sure you want to change the base?
Conversation
@@ -4,7 +4,8 @@ | |||
from typing import Any, Callable, Dict, List, Optional, Union | |||
|
|||
import markdownify | |||
from tabulate import tabulate # TODO: switch to rich tables |
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.
tabulate dependency not removed from pyproject.toml
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.
let me update that.
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.
I cannot remove tabulate from dependency some other files are using it. This PR was specifically for list command output. I can update rest as well and then remove it.
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.
except for the fact that the CI system complains about this, this looks good to me. (replacing the tabulate
module for browse
and compare
would be nice, too...)
Issue resolved: I have updated the list bash output by replacing the tabulate table with rich tables.
File updated: cli/_print_utils.py
The output looks like this: