[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-24 16:05:52 +00:00
commit c3c09dbd80

View file

@ -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)} "