iterative / shtab

↔️ Automagic shell tab completion for Python CLI applications
https://docs.iterative.ai/shtab
Other
378 stars 34 forks source link

bash `nounset` mode fixes #143

Closed scop closed 1 year ago

scop commented 1 year ago

Fixes issues I came across while briefly testing the shtab completions of keyring in set -o nounset mode, as well tests failing in that mode.

This might not be a complete set, but it's a start.

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (a6f5ba9) 88.88% compared to head (e6a5042) 88.88%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #143 +/- ## ======================================= Coverage 88.88% 88.88% ======================================= Files 3 3 Lines 360 360 ======================================= Hits 320 320 Misses 40 40 ``` | [Files Changed](https://app.codecov.io/gh/iterative/shtab/pull/143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative) | Coverage Δ | | |---|---|---| | [shtab/\_\_init\_\_.py](https://app.codecov.io/gh/iterative/shtab/pull/143?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iterative#diff-c2h0YWIvX19pbml0X18ucHk=) | `90.76% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.