Complete snapshot refs in shell completions#95
Draft
vku2018 wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #94.
Summary
quicksave __complete-refshelper that quietly prints snapshot numbers, ids, and names for shell completionValidation
python -m pytest -q tests/test_cli.py::test_completion_bash_lists_subcommands tests/test_cli.py::test_completion_zsh_wires_compdef tests/test_cli.py::test_completion_fish_lists_subcommands tests/test_cli.py::test_completion_powershell_registers_completer tests/test_cli.py::test_complete_refs_prints_snapshot_numbers_ids_and_names tests/test_cli.py::test_complete_refs_outside_project_is_quietpython -m compileall -q quicksave testsgit diff --checkInvoke-Expressionpython -m pytest -q -k "not no_color_env_strips_styling"(290 passed, 1 deselected)Note
python -m pytest -qon this Windows runner reports one existing platform-sensitive failure intests/test_cli.py::test_no_color_env_strips_styling; the same test fails when run standalone because captured output does not include ANSI styling beforeNO_COLORis set.