From c3c09dbd8097f54c00b40241c547cdc0dae560f4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 24 May 2026 16:05:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/check_new_install_scripts.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/check_new_install_scripts.py b/scripts/check_new_install_scripts.py index 3ce83b6827..80aed26c74 100644 --- a/scripts/check_new_install_scripts.py +++ b/scripts/check_new_install_scripts.py @@ -353,12 +353,8 @@ def main(argv: list[str] | None = None) -> int: findings = diff_new_install_scripts(base_lock, head_lock) if allowlist: - skipped = [ - f for f in findings if _finding_allowlist_key(f) in allowlist - ] - findings = [ - f for f in findings if _finding_allowlist_key(f) not in allowlist - ] + skipped = [f for f in findings if _finding_allowlist_key(f) in allowlist] + findings = [f for f in findings if _finding_allowlist_key(f) not in allowlist] for f in skipped: print( f"[install-script-diff] SKIP {_finding_allowlist_key(f)} "