From 7d6c2257d52c8166ce26e184211970c3020cd5be Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Fri, 2 Jan 2026 10:11:09 +1100 Subject: [PATCH] ignore some bandit findings --- src/cspresso/ensure_playwright.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cspresso/ensure_playwright.py b/src/cspresso/ensure_playwright.py index 2b95277..e8230b7 100644 --- a/src/cspresso/ensure_playwright.py +++ b/src/cspresso/ensure_playwright.py @@ -3,7 +3,7 @@ from __future__ import annotations import os import sys import time -import subprocess +import subprocess # nosec from dataclasses import dataclass from pathlib import Path @@ -51,7 +51,7 @@ def _release_install_lock(lock_path: Path) -> None: try: lock_path.unlink(missing_ok=True) # Python 3.8+ except Exception: - pass + pass # nosec def _install_chromium(browsers_path: Path, with_deps: bool = False) -> None: @@ -61,7 +61,7 @@ def _install_chromium(browsers_path: Path, with_deps: bool = False) -> None: cmd.append("--with-deps") cmd.append("chromium") - subprocess.run(cmd, check=True, env=env) + subprocess.run(cmd, check=True, env=env) # nosec async def _can_launch_chromium(browsers_path: Path) -> bool: