Open mazinesy opened 2 years ago
The easy way is to ignore mockito
, e.g. something like this in mypy.ini
.
[mypy-mockito]
ignore_missing_imports = True
Full typing support would be some significant work. What do you actually expect here?
Yep, that's exactly what we currently are doing.
What do you actually expect here?
Nothing much really. It just is an issue to track the typing as it is becoming more and more popular.
Funny enough, we actually run mypy here as a GitHub action.
Related: https://github.com/kaste/mockito-python/issues/27
👋 We currently are using
mockito-python
but checks are failing when running mypy.Here's the output:
Is there an easy to make this work ?