ci: update mypy config and make ruff config more consistent with other projects

This commit is contained in:
Dima Gerasimov 2024-08-31 02:03:22 +01:00 committed by karlicoss
parent d58453410c
commit 71fdeca5e1
13 changed files with 32 additions and 38 deletions

View file

@ -577,7 +577,7 @@ def query_hpi_functions(
# output == 'repl'
eprint(f"\nInteract with the results by using the {click.style('res', fg='green')} variable\n")
try:
import IPython # type: ignore[import]
import IPython # type: ignore[import,unused-ignore]
except ModuleNotFoundError:
eprint("'repl' typically uses ipython, install it with 'python3 -m pip install ipython'. falling back to stdlib...")
import code