Skip to content

Fix some issues found by Mypy #995

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

Merged
merged 7 commits into from
Jan 29, 2024

Conversation

akx
Copy link
Contributor

@akx akx commented Jan 29, 2024

This PR fixes a variety of issues spotted by Mypy.

Most of these revolve around functions being inaccurately typed.

There's also an actual bug fix (the missed call to is_triton_available).

The library is by no means yet "mypy clean", though, and this isn't an exhaustive PR :)

@Titus-von-Koeller
Copy link
Collaborator

Thanks, I reviewed everything, lgtm! We need more of the thoroughness you apply in this repo :) Great fixes and inputs that you are providing. Feels really motivating to have such active contributors 🙌🏻

@Titus-von-Koeller Titus-von-Koeller merged commit a8c9dfa into bitsandbytes-foundation:main Jan 29, 2024
@akx akx deleted the mypy branch January 30, 2024 06:06
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