Skip to content
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

Closed
wants to merge 3 commits into from
Closed

feat: remove tabulate dependency #23

wants to merge 3 commits into from

Conversation

relikd
Copy link
Contributor

@relikd relikd commented Feb 20, 2024

fixes: #20

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))
Copy link
Owner

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.

Copy link
Contributor Author

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"],
Copy link
Owner

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@relikd relikd mentioned this pull request Feb 26, 2024
@gtsystem
Copy link
Owner

Merged #25 which includes #23 . Closing this one

@gtsystem gtsystem closed this Feb 26, 2024
@relikd relikd deleted the remove_tabulate branch February 26, 2024 17:18
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.

Remove tabulate from dependencies
2 participants