diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 939502a0..0171850a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: pretty-format-ini args: [--autofix] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.6 # Must match requirements-dev.txt + rev: v0.11.4 # Must match requirements-dev.txt hooks: - id: ruff args: [--fix] diff --git a/src/utils.py b/src/utils.py index 9cba36e4..a8e4ace0 100644 --- a/src/utils.py +++ b/src/utils.py @@ -306,7 +306,7 @@ def list_processes(): return [ # The first row is the process name line.split()[0] - for line in subprocess.check_output( # noqa: S603 # Known input + for line in subprocess.check_output( "C:/Windows/System32/tasklist.exe", text=True ).splitlines()[3:] # Skip the table header lines if line