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:
|
else:
|
||||||
# output == 'repl'
|
# output == 'repl'
|
||||||
try:
|
try:
|
||||||
import IPython
|
import IPython # type: ignore[import]
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
eprint("'repl' requires ipython, install it with 'python3 -m pip install ipython'")
|
eprint("'repl' requires ipython, install it with 'python3 -m pip install ipython'")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
@ -391,8 +391,6 @@ def query_hpi_functions(
|
||||||
IPython.embed()
|
IPython.embed()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@click.group()
|
@click.group()
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue