-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: remove tabulate dependency #23
Conversation
remotezip.py
Outdated
col_w = [len(col) for col in header] | ||
for row in data: | ||
col_w = [max(w, len(str(x))) for w, x in zip(col_w, row)] | ||
fmt = ' '.join(f'{{:{a}{w}}}' for w, a in zip(col_w, align + '<' * 99)) |
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.
f-strings doesn't work in python 2.7. It's probably time to remove compatibility for it, but that would require a major release that is probably outside the scope of this MR.
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.
replaced with format()
@@ -14,7 +14,7 @@ | |||
description='Access zip file content hosted remotely without downloading the full file.', | |||
long_description=description, | |||
long_description_content_type="text/markdown", | |||
install_requires=["requests", "tabulate"], | |||
install_requires=["requests"], |
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 you increase patch version above?
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.
done
fixes: #20