Skip to content

Conversation

@smheidrich
Copy link
Contributor

@smheidrich smheidrich commented Sep 21, 2024

Description

To help make progress in adding type hints for Rope's public API (#798), it might make sense to have a "ratcheting" mechanism in CI that prevents merging PRs which make the typing situation worse (by adding more untyped public functionality) and might motivate people to actively improve it by adding more type hints (although unfortunately the completeness score isn't visible directly on the PR page, which would probably help facilitate that).

This PR adds such a mechanism using the pyright-type-completeness GitHub Action.

You can see what it looks like in action here: smheidrich#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant