mypy ignore ipython import
This commit is contained in:
parent
702d41fe90
commit
188276eefd
1 changed files with 1 additions and 3 deletions
|
@ -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:
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue