about summary refs log tree commit diff
path: root/gn3/db/case_attributes.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-07-01 16:28:58 +0300
committerBonfaceKilz2025-07-07 07:58:31 +0300
commit926826b109f8b2143271eb44eb7e064e698bcc50 (patch)
treee7c4e9e256c62670907b795727dc89500f5ed65d /gn3/db/case_attributes.py
parent247e461c5cafa667bf2045d730ade08bc6ccc99e (diff)
downloadgenenetwork3-926826b109f8b2143271eb44eb7e064e698bcc50.tar.gz
Fix pylint errors.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/case_attributes.py')
-rw-r--r--gn3/db/case_attributes.py5
1 files changed, 3 insertions, 2 deletions
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