From e3e8e3d8f95b9247b53880b84a5866b41d546ea7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 17:26:59 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.11.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From e7668e6cf9798a1dfd7a9263a115e5b376cd8d97 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 17:27:51 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 9cba36e4..46ae2c03 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( # Known input "C:/Windows/System32/tasklist.exe", text=True ).splitlines()[3:] # Skip the table header lines if line From c5b786d50591d44882fe20c17a83cb30c9c4de3d Mon Sep 17 00:00:00 2001 From: Avasam Date: Mon, 7 Apr 2025 14:20:41 -0400 Subject: [PATCH 3/3] Update src/utils.py --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 46ae2c03..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( # Known input + for line in subprocess.check_output( "C:/Windows/System32/tasklist.exe", text=True ).splitlines()[3:] # Skip the table header lines if line