Skip to content

Conversation

@chrishavlin
Copy link
Contributor

PR Summary

We've got a couple spots where we import numpy.testing as npt, but it's become pretty ubiquitous to import numpy.typing as npt. with #5346, we'll have a bunch more uses of numpy.typing as npt across the codebase , so this PR cleans up just a few spots to avoid future alias collisions (5346 will change the one remaining stop in yt/testing.py not touched by this PR).

PR Checklist

  • New features are documented, with docstrings and narrative docs
  • Adds a test for any bugs fixed. Adds tests for new features.

@chrishavlin chrishavlin added this to the 4.5.0 milestone Dec 11, 2025
@chrishavlin chrishavlin added the refactor improve readability, maintainability, modularity label Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor improve readability, maintainability, modularity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant