Skip to content

Commit 53b2aad

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5602cdb commit 53b2aad

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

context_chat_backend/dyn_loader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#ruff: noqa: I001
21
#
32
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
43
# SPDX-License-Identifier: AGPL-3.0-or-later
@@ -61,7 +60,7 @@ def load(self):
6160
if pid.value > 0 and psutil.pid_exists(pid.value):
6261
return
6362

64-
proc = subprocess.Popen( # noqa: S603
63+
proc = subprocess.Popen(
6564
['./main_em.py'],
6665
stdout=self.logfile,
6766
stderr=self.logfile,

context_chat_backend/setup_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def ensure_config_file():
1616
'''
1717
Ensures the config file is present.
1818
'''
19-
subprocess.run(['./hwdetect.sh', 'config'], check=True, shell=False) # noqa: S603
19+
subprocess.run(['./hwdetect.sh', 'config'], check=True, shell=False)
2020

2121

2222
def repair_run():

0 commit comments

Comments
 (0)