From 926826b109f8b2143271eb44eb7e064e698bcc50 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 1 Jul 2025 16:28:58 +0300 Subject: Fix pylint errors. Signed-off-by: Munyoki Kilyungi --- gn3/db/case_attributes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gn3/db/case_attributes.py') diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py index c164b06..b16bbdd 100644 --- a/gn3/db/case_attributes.py +++ b/gn3/db/case_attributes.py @@ -252,9 +252,10 @@ def get_changes(cursor, inbredset_id: int, directory: Path) -> dict: } -# pylint: disable[too-many-locals] +# pylint: disable=[too-many-locals] def apply_change(cursor, change_type: EditStatus, change_id: int, directory: Path) -> bool: - """Applies or rejects a case attribute change and updates its status in the audit table and LMDB. + """Applies or rejects a case attribute change and updates its + status in the audit table and LMDB. Processes a change identified by `change_id` based on the specified `change_type` (approved or rejected). For approved -- cgit 1.4.1