cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

EXPERIMENT: typing edits as produced by Cursor, NO MANUAL CHANGES

Open rwgk opened this issue 10 months ago • 4 comments

This was the Cursor prompt:

I want to add typing annotations to the cuda_core code, to be checked with mypy when running the pre-commit command.

Note: I had to click the "Resume conversation" button several times (5+ probably).

Cursor-0.47.8

rwgk avatar Mar 19 '25 18:03 rwgk

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

copy-pr-bot[bot] avatar Mar 19 '25 18:03 copy-pr-bot[bot]

@shwina for visibility

First impression: It still needs a lot of manual work, although it's probably better than nothing.

rwgk avatar Mar 19 '25 18:03 rwgk

Can we not add/remove existing APIs (including their docs), and just focus on typing improvement?

leofang avatar Mar 20 '25 15:03 leofang

Can we not add/remove existing APIs (including their docs), and just focus on typing improvement?

Absolutely. This was just meant to help us estimate how much manual effort it'll be.

rwgk avatar Mar 20 '25 17:03 rwgk

Closing this super-stale PR (random cleanup).

rwgk avatar Sep 25 '25 17:09 rwgk