-
Notifications
You must be signed in to change notification settings - Fork 260
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
Type annotations #1109
Comments
Mypy seems to be the way to get moving with type annotations. They've got some docs for Using mypy with an existing codebase. |
Here's a talk that is relevant: https://www.youtube.com/watch?v=wbohVjhqg7c |
Just writing down a thought I had: I wasn't sure whether to use |
We should add type annotations, particularly to such heavily-used functions and properties as
DataobjImage.get_fdata()
,SpatialImage.affine
. This will make it easier on users working in environments that provide type hints and autocompletion.The text was updated successfully, but these errors were encountered: