Skip to content

TYP: Type annotations overhaul, episode 2 #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

jorenham
Copy link

@jorenham jorenham commented Mar 22, 2025

This is a WIP in progress, but feel free to say whatever you feel like saying about the stuff I've already touched at this point.


  • _internal
  • common/*
  • numpy
    • __init__
    • _aliases
    • _info
    • _typing
    • fft
    • linalg
  • torch.*
  • dask.array.* (except for .fft)

Because cupy has no py.typed, and is too dynamic for pyright to analyse, it's pretty much impossible to annotate cupy.* at the moment.

I decided to skip torch for now; this PR is big enough already.

@jorenham
Copy link
Author

I'm not really sure what's causing these test failures here 🤔

@crusaderky
Copy link
Contributor

I'm not really sure what's causing these test failures here 🤔

They're in main too

@jorenham jorenham force-pushed the typing-overhaul-episode-2 branch from 37b9c7b to a522dbc Compare April 15, 2025 12:10
@jorenham jorenham marked this pull request as ready for review April 15, 2025 15:32
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.

2 participants