mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-07-28 23:07:46 +00:00
make_generated_files.py: Split data from code
Initial work to eventually have the list of scripts that generate files in the branches that consume the framework. Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -58,8 +58,13 @@ echo 'Running pylint ...'
|
||||
# Temporary workaround while moving the bulk of abi_check.py to the framework
|
||||
# Check abi_check.py separately from the rest of the files, so it's not flagged
|
||||
# for code duplication.
|
||||
# Temporary workaround for the transitional wrapper framework/scripts/make_generated_files.py
|
||||
# as well. Once make_generated_files.py exists in both MbedTLS:development and
|
||||
# TF-PSA-Crypto:development branches, we will be able to remove
|
||||
# framework/scripts/make_generated_files.py and, consequently, this exception.
|
||||
find framework/scripts/*.py framework/scripts/mbedtls_framework/*.py scripts/*.py tests/scripts/*.py \
|
||||
-path scripts/abi_check.py \
|
||||
! -path scripts/abi_check.py \
|
||||
! -path framework/scripts/make_generated_files.py \
|
||||
-exec $PYTHON -m pylint {} + \
|
||||
-o -exec $PYTHON -m pylint {} + || {
|
||||
echo >&2 "pylint reported errors"
|
||||
|
||||
Reference in New Issue
Block a user