Update build-python

This commit is contained in:
0xd4d 2020-12-18 21:55:53 +01:00
parent 866e9ddb21
commit 766d314fba
1 changed files with 6 additions and 4 deletions

View File

@ -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