Add strict typing to qapidoc.py for the remainder of this series. Signed-off-by: John Snow <js...@redhat.com> --- scripts/qapi-lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/qapi-lint.sh b/scripts/qapi-lint.sh index 0e3ff002b69..dd3e6eb84c5 100755 --- a/scripts/qapi-lint.sh +++ b/scripts/qapi-lint.sh @@ -35,7 +35,7 @@ if [[ -f ../docs/sphinx/qapi_domain.py ]]; then pushd ../docs/sphinx set -x - mypy --strict $files + PYTHONPATH=../../scripts/ mypy --follow-untyped-imports --strict $files qapidoc.py flake8 --max-line-length=80 $files qapidoc.py isort -c $files qapidoc.py black --line-length 80 --check $files qapidoc.py -- 2.48.1