Description
At the moment, with exception to type ignores, we use default MyPy configuration. These already provide decent coverage, but are somewhat less restrictive than the ones used in typeshed and pyspark-stubs.
We should consider at least the following:
- strict_optional
- no_implicit_optional
It might be also a good idea to add disallow_untyped_defs, which will allow us to catch any instances of user-facing code, that are missing annotations.