Skip to content

Add type annotations for instance attributes in shell_completion#3455

Merged
Rowlando13 merged 1 commit into
pallets:stablefrom
jorenham:typing/shell_completion/coverage
May 27, 2026
Merged

Add type annotations for instance attributes in shell_completion#3455
Rowlando13 merged 1 commit into
pallets:stablefrom
jorenham:typing/shell_completion/coverage

Conversation

@jorenham
Copy link
Copy Markdown
Contributor

Here's another one like #3422, #3451, #3453, and #3454 (+0.43% type coverage).

This time, I somehow managed to keep myself from going out of scope, even though I saw a bunch of opportunities for improvement here in click.shell_completion. I'll address those in a follow-up (sorry @ reviewers, but it's for a good cause).

Copy link
Copy Markdown
Collaborator

@AndreasBackx AndreasBackx left a comment

Choose a reason for hiding this comment

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

Just remove the version change and like other PR rebase on main instead perhaps?

"""

cli: Command
ctx_args: cabc.MutableMapping[str, t.Any]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should perhaps improve this later, but out of scope for this PR.

@jorenham jorenham force-pushed the typing/shell_completion/coverage branch from 49024c1 to ea76281 Compare May 25, 2026 10:42
@Rowlando13 Rowlando13 merged commit 18c2451 into pallets:stable May 27, 2026
12 checks passed
@jorenham jorenham deleted the typing/shell_completion/coverage branch May 27, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants