* enable numpy mypy typing * remove --warn-return-any * merge conflict and syntax * merge conflict * merge conflict * add type to img var
* run mypy commit hook * fix mypy errors