From 236b0cf9548b0b20f6f8d4ca745a6948014aedfb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 20:21:39 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.16.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.16.6) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c712c6..2188ea7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - id: check-toml @@ -16,7 +16,7 @@ repos: exclude: persistent_storage - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.2 + rev: v0.16.6 hooks: - id: ruff From 5d8c7fc76d9d16c7e80bbb54a777df2394e223ea Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 20:22:52 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- context_chat_backend/dyn_loader.py | 1 - context_chat_backend/setup_functions.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/context_chat_backend/dyn_loader.py b/context_chat_backend/dyn_loader.py index 47b1957..e3b4319 100644 --- a/context_chat_backend/dyn_loader.py +++ b/context_chat_backend/dyn_loader.py @@ -1,4 +1,3 @@ -#ruff: noqa: I001 # # SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors # SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/context_chat_backend/setup_functions.py b/context_chat_backend/setup_functions.py index 87b9445..d070d5b 100644 --- a/context_chat_backend/setup_functions.py +++ b/context_chat_backend/setup_functions.py @@ -16,7 +16,7 @@ def ensure_config_file(): ''' Ensures the config file is present. ''' - subprocess.run(['./hwdetect.sh', 'config'], check=True, shell=False) # noqa: S603 + subprocess.run(['./hwdetect.sh', 'config'], check=True, shell=False) def repair_run():