Skip to content

Add type annotations for instance attributes in shell_completion#3455

Open
jorenham wants to merge 3 commits into
pallets:stablefrom
jorenham:typing/shell_completion/coverage
Open

Add type annotations for instance attributes in shell_completion#3455
jorenham wants to merge 3 commits 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.

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.

5 participants