Run mypy on CI

This commit is contained in:
Kovid Goyal
2020-03-09 18:24:55 +05:30
parent 7298de646a
commit 7d690bbad2
2 changed files with 9 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ def type_check() -> NoReturn:
generate_stub()
from kitty.options_stub import generate_stub # type: ignore
generate_stub()
os.execlp('mypy', 'mypy', '--pretty')
os.execlp(sys.executable, 'python', '-m', 'mypy', '--pretty')
def run_tests():