mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 13:50:59 +00:00
Call pylint3, not pylint
We use Python 3, so call Pylint for Python 3, not for Python 2.
This commit is contained in:
parent
7f61575cba
commit
b2c269eeee
|
@ -9,10 +9,10 @@
|
||||||
# Run 'pylint' on Python files for programming errors and helps enforcing
|
# Run 'pylint' on Python files for programming errors and helps enforcing
|
||||||
# PEP8 coding standards.
|
# PEP8 coding standards.
|
||||||
|
|
||||||
if `hash pylint > /dev/null 2>&1`; then
|
if `hash pylint3 > /dev/null 2>&1`; then
|
||||||
pylint -j 2 tests/scripts/generate_test_code.py
|
pylint3 -j 2 tests/scripts/generate_test_code.py
|
||||||
pylint -j 2 tests/scripts/test_generate_test_code.py
|
pylint3 -j 2 tests/scripts/test_generate_test_code.py
|
||||||
pylint -j 2 tests/scripts/mbedtls_test.py
|
pylint3 -j 2 tests/scripts/mbedtls_test.py
|
||||||
else
|
else
|
||||||
echo "$0: WARNING: 'pylint' not found! Skipping checks on Python files."
|
echo "$0: WARNING: 'pylint3' not found! Skipping checks on Python files."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue