Skip to content
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

Housekeeping #6

Merged
merged 10 commits into from
Dec 30, 2024
Merged

Housekeeping #6

merged 10 commits into from
Dec 30, 2024

Conversation

h4l
Copy link
Owner

@h4l h4l commented Dec 30, 2024

Update dev deps, configure linting better, fix some lint errors.

Also configure quartodoc to include annotations in function signatures.

h4l added 3 commits December 30, 2024 11:23
The version of mypy we just upgraded to includes generic annotations for
memoryview, which result in our jsbuffers annotations producing type
errors.

This works around the errors by returning `memoryview[Any]`, rather than
just `memoryview`, as this means `memoryview[int]`.

I've partially implemented type-safe memoryview casting from our format
metadata types, but not entirely as it will require more refactoring
than I want to do to fix this immediate issue.
@h4l h4l merged commit 37c0753 into main Dec 30, 2024
20 checks passed
@h4l h4l deleted the housekeeping branch December 30, 2024 12:53
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