From 08d7d0e8949661e1700bc06902c06854a62d114e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 20:25:52 +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.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.16.5) --- .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..4e8949f 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.5 hooks: - id: ruff From 79091e85d1a86e69247d60ee81bc00afbc73cec8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 20:27:31 +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():