Skip to content

Conversation

@mpouzoup
Copy link

Fixes #286

When running shell completion, autocompletion callbacks may raise click.exceptions.Abort or
click.exceptions.Exit. This should not print a traceback; completion should abort silently and
return no completions instead.

@svlandeg svlandeg added the feature New feature, enhancement or request label Jan 12, 2026
@svlandeg svlandeg marked this pull request as draft January 12, 2026 09:01
Copy link
Member

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Can you look into the coverage tests that are failing?

@mpouzoup mpouzoup marked this pull request as ready for review January 12, 2026 23:07
@svlandeg svlandeg self-assigned this Jan 13, 2026
@github-actions github-actions bot removed the waiting label Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature, enhancement or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Abort and Exit break autocompletion

2 participants