nirum icon indicating copy to clipboard operation
nirum copied to clipboard

Add mypy check in test

Open qria opened this issue 7 years ago • 1 comments

Add mypy check for type safety.

qria avatar Aug 15 '18 02:08 qria

Fun issues encountered with mypy until now:

  • https://github.com/python/typeshed/issues/1463

  • (no issue yet) Missing stub for pkg_resources.Distribution.PKG_INFO

  • https://github.com/python/mypy/issues/5483

  • (no issue yet, possibly non-issue) reveal_type(A.doc) is always Optional[str] even if docstring is declared

  • https://github.com/python/mypy/issues/2087

We might want to wait implementing mypy until it is sufficiently matured.

qria avatar Aug 15 '18 08:08 qria