From c5135a0c476930cab38114fd2a3788d39a53a0ab Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 2 Mar 2026 16:01:09 +0100 Subject: [PATCH] Add pylint duplicate-code exceptions for newly moved files Signed-off-by: Gilles Peskine --- scripts/check-python-files.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/check-python-files.sh b/scripts/check-python-files.sh index ed61dc468..39e005cf2 100755 --- a/scripts/check-python-files.sh +++ b/scripts/check-python-files.sh @@ -66,6 +66,13 @@ echo 'Running pylint ...' # has been removed from all consuming branches. find framework/scripts scripts tests/scripts -name '*.py' \( \ ! -path scripts/abi_check.py \ + ! -path scripts/code_size_compare.py \ + ! -path scripts/ecp_comb_table.py \ + ! -path tests/scripts/audit-validity-dates.py \ + ! -path tests/scripts/generate_server9_bad_saltlen.py \ + ! -path tests/scripts/psa_collect_statuses.py \ + ! -path tests/scripts/run_demos.py \ + ! -path tests/scripts/test_config_script.py \ ! -path framework/scripts/make_generated_files.py \ -exec $PYTHON -m pylint {} + \ -o -exec $PYTHON -m pylint {} + \) || {