Skip to content

Add type annotations for instance attributes in click.core#3463

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

Add type annotations for instance attributes in click.core#3463
jorenham wants to merge 3 commits into
pallets:stablefrom
jorenham:typing/core/coverage

Conversation

@jorenham
Copy link
Copy Markdown
Contributor

Here's the last one in the type coverage PR series (+3.71%). Because this, together with #3422, #3451, #3453, #3454, and #3455, will bring click to 100% type coverage 🎉.

@jorenham
Copy link
Copy Markdown
Contributor Author

The failing Mac CI job seems unrelated (race condition?)

@davidism
Copy link
Copy Markdown
Member

Please combine all these PRs into one PR with multiple commits. That will make it much easier to review and merge.

@jorenham
Copy link
Copy Markdown
Contributor Author

Please combine all these PRs into one PR with multiple commits. That will make it much easier to review and merge.

Haha I've often been asked to do the exact opposite by maintainers of other projects. But sure, I don't mind combining them :)

@kdeldycke kdeldycke changed the base branch from main to stable May 22, 2026 12:17
@kdeldycke
Copy link
Copy Markdown
Collaborator

Haha I've often been asked to do the exact opposite by maintainers of other projects. But sure, I don't mind combining them :)

Also can you rebase them on top of stable. If typing improvements do not change the API or behavior, then I would consider them as I consider improved tests and bug fixes: OK for bug fix releases.

@kdeldycke
Copy link
Copy Markdown
Collaborator

Please combine all these PRs into one PR with multiple commits. That will make it much easier to review and merge.

Sorry for the aggressive review requests on the other PRs from @jorenham . I just stumble on your comment on that last one from the batch. 🙇

@kdeldycke kdeldycke added this to the 8.4.2 milestone May 22, 2026
@kdeldycke
Copy link
Copy Markdown
Collaborator

The failing Mac CI job seems unrelated (race condition?)

Unrelated. But you can make it disappear by rebasing on stable branch.

@kdeldycke
Copy link
Copy Markdown
Collaborator

Please combine all these PRs into one PR with multiple commits. That will make it much easier to review and merge.

Rethinking of this, maybe @jorenham is onto something by providing small, targeted typing changes: they increase the change of being merged for bug fix releases, as some tightening attempts stay self-contained while others requires some code changes. I propose to work on the individual splatted PRs @jorenham proposed as @AndreasBackx started to make a review on them.

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