mypy ignore ipython import

This commit is contained in:
Sean Breckenridge 2021-04-05 13:52:25 -07:00
parent 702d41fe90
commit 188276eefd

View file

@ -382,7 +382,7 @@ def query_hpi_functions(
else:
# output == 'repl'
try:
import IPython
import IPython # type: ignore[import]
except ModuleNotFoundError:
eprint("'repl' requires ipython, install it with 'python3 -m pip install ipython'")
sys.exit(1)
@ -391,8 +391,6 @@ def query_hpi_functions(
IPython.embed()
@click.group()
def main() -> None:
'''