From 766d314fbaaea6fa9ba4092735f39836507916ca Mon Sep 17 00:00:00 2001 From: 0xd4d Date: Fri, 18 Dec 2020 21:55:53 +0100 Subject: [PATCH] Update build-python --- build/build-python | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build/build-python b/build/build-python index 4a54490c4..5495687ba 100755 --- a/build/build-python +++ b/build/build-python @@ -103,11 +103,13 @@ misc_tests() { cargo fmt -- --color always --check echo "mypy" - mypy --strict src/iced_x86 + $python -m mypy --version + $python -m mypy --strict src/iced_x86 echo "pylint" # It will fail to load _iced_x86_py since it's not in the correct dir, so disable the error - pylint src/iced_x86 -d import-error --rcfile="$pysrc_dir/../pylintrc" + $python -m pylint --version + $python -m pylint src/iced_x86 -d import-error --rcfile="$pysrc_dir/../pylintrc" cd "$curr_dir" } @@ -157,8 +159,8 @@ echo "pytest version" $python -m pytest --version if [ "$full_check" = "y" ] && [ "$gen_docs" = "y" ]; then - echo "sphinx-build version" - sphinx-build --version + echo "sphinx version" + $python -m sphinx --version fi generate_sdist