diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a227463..47da902 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.12.10 hooks: - id: ruff diff --git a/context_chat_backend/dyn_loader.py b/context_chat_backend/dyn_loader.py index d67310f..b7176fc 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():