Skip to content

Stop truncating long string values in table output#260

Draft
dbcli-symphony[bot] wants to merge 1 commit into
mainfrom
symphony/dbcli-litecli-189-attempt-17
Draft

Stop truncating long string values in table output#260
dbcli-symphony[bot] wants to merge 1 commit into
mainfrom
symphony/dbcli-litecli-189-attempt-17

Conversation

@dbcli-symphony

Copy link
Copy Markdown

Changes

  • Disable the cli-helpers field-width cap by passing max_field_width=None from LiteCli.format_output.
  • Add a regression test that verifies a 600-character string renders without being replaced by an ellipsis.
  • Update the changelog for the user-visible table output fix.

Fixes #189

Tests

  • python -m py_compile litecli/main.py tests/test_main.py
  • ruff check litecli/main.py tests/test_main.py CHANGELOG.md
  • git diff --check

Note: pytest -q tests/test_main.py::test_format_output_does_not_truncate_long_strings could not run in this VM because litecli runtime dependencies were not installed and package installation could not reach PyPI.

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.

litecli cutting off long strings

0 participants