Try to convince mypy to play nice

This commit is contained in:
Kovid Goyal 2021-12-23 10:18:42 +05:30
parent 8699f90fa4
commit f9af273150
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -41,7 +41,7 @@ def main() -> None:
): ):
init_env() init_env()
m = importlib.import_module('kitty_tests.main') m = importlib.import_module('kitty_tests.main')
m.run_tests() # type: ignore getattr(m, 'run_tests')()
if __name__ == '__main__': if __name__ == '__main__':