mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 04:15:43 +01:00
Check scripts/mbedtls_dev/*.py with pylint
mypy automatically checks the modules when it encounters them as imports. Don't make it check them twice, because it would complain about encountering them through different paths (via the command line as scripts/mbedtls_dev/*.py and via imports as just mbedtls_dev/*.py). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
86fc21cd3b
commit
b13ed70b32
@ -28,7 +28,7 @@ else
|
|||||||
PYTHON=python
|
PYTHON=python
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$PYTHON -m pylint -j 2 scripts/*.py tests/scripts/*.py || {
|
$PYTHON -m pylint -j 2 scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
|
||||||
echo >&2 "pylint reported errors"
|
echo >&2 "pylint reported errors"
|
||||||
ret=1
|
ret=1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user