Added mypy for python.

This commit is contained in:
Andrew Hamilton 2016-10-15 18:45:32 +02:00
parent fb9ecd9039
commit dedac08987
5 changed files with 17 additions and 4 deletions

View file

@ -88,6 +88,10 @@ class ToolsTestCase(unittest.TestCase):
def test_pydoc(self):
self._test_tool(tools.pydoc, self.HI_NORMAL)
def test_mypy(self):
self._test_tool(tools.mypy, [("hi3.py", tools.Status.ok),
("hi.py", tools.Status.normal)])
def test_python_coverage(self):
self._test_tool(tools.python_coverage, self.HI_NORMAL)