From c13ade20f7b980dee0f84386e2d68ef482164f93 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 5 Mar 2025 22:51:31 +0100 Subject: [PATCH] Exclude pylint check since we intercept kwargs --- npbackup/core/runner.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/npbackup/core/runner.py b/npbackup/core/runner.py index adec077..e30e6e2 100644 --- a/npbackup/core/runner.py +++ b/npbackup/core/runner.py @@ -1488,6 +1488,11 @@ class NPBackupRunner: raise PermissionError elif randint(1, 100) <= post_backup_housekeeping_percent_chance: self.write_logs("Running housekeeping after backup", level="info") + # Housekeeping after backup needs to run without threads + # We need to keep the queues open since we need to report back to GUI + # Also, we need to disable concurrency check since we already did + # for backup, and concurrency check would fail for unlock, forget and prune + # pylint: disable=E1123 (unexpected-keyword-arg) housekeeping_result = self.housekeeping( __no_threads=True, __close_queues=True,