Mypy messages
I'm trying to solve mypy errors but I'm not sure how to handle some messages
Skipping analyzing "rasterio": module is installed, but missing library stubs or py.typed marker
This can be disabled using ignore_missing_imports
But it is probably not the best solution, because of the second type of message
error: Incompatible return value type (got "Tuple[Any, None, Any, Any, List[Any], Any, Any, Any]", expected "Tuple[ndarray[Any, dtype[Any]], List[str], Any, int, ndarray[Any, dtype[Any]], Dict[Any, Any], Any, List[Any]]")
This funny one come from a function output. Here the first element of the tuple is a numpy.ndarray provided by rasterio merge function and mypy didn't succeed to determine the type then he got "Any".
We also have mypy errors that force us to navigate through several files. What is the rule in this case? Do we limit the hooks to the file initially modified?