rope icon indicating copy to clipboard operation
rope copied to clipboard

Add ratcheting type completeness check to CI

Open smheidrich opened this issue 1 year ago • 0 comments

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: https://github.com/smheidrich/rope/pull/1

smheidrich avatar Sep 21 '24 09:09 smheidrich