Exclude pylint check since we intercept kwargs

This commit is contained in:
deajan 2025-03-05 22:51:31 +01:00
parent c9f4d54a79
commit c13ade20f7

View file

@ -1488,6 +1488,11 @@ class NPBackupRunner:
raise PermissionError raise PermissionError
elif randint(1, 100) <= post_backup_housekeeping_percent_chance: elif randint(1, 100) <= post_backup_housekeeping_percent_chance:
self.write_logs("Running housekeeping after backup", level="info") 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( housekeeping_result = self.housekeeping(
__no_threads=True, __no_threads=True,
__close_queues=True, __close_queues=True,