about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-02-18 10:34:55 -0600
committerFrederick Muriuki Muriithi2026-02-18 10:34:55 -0600
commit9b6f862497749b387d6fd99771ec14775fe97b00 (patch)
treec0f2f3006bc012cc8d11d06f75ed19e9b7a8d938
parent5b34f2b7a91842308c5dca0b767c632e6e31092b (diff)
downloadgn-uploader-9b6f862497749b387d6fd99771ec14775fe97b00.tar.gz
Lint: Disable some checks for specific functions.
-rw-r--r--uploader/phenotypes/models.py2
-rw-r--r--uploader/phenotypes/views.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/uploader/phenotypes/models.py b/uploader/phenotypes/models.py
index 06c417f..3946a0f 100644
--- a/uploader/phenotypes/models.py
+++ b/uploader/phenotypes/models.py
@@ -87,7 +87,7 @@ def phenotype_publication_data(conn, phenotype_id) -> Optional[dict]:
         return dict(res)
 
 
-def dataset_phenotypes(
+def dataset_phenotypes(# pylint: disable=[too-many-arguments, too-many-positional-arguments]
         conn: Connection,
         population_id: int,
         dataset_id: int,
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index 72e3f72..ab3b3d2 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -1174,7 +1174,7 @@ def delete_phenotypes_success_handler(job):
     species_redirect_uri="species.populations.phenotypes.index",
     population_redirect_uri="species.populations.phenotypes.select_population",
     redirect_uri="species.populations.phenotypes.list_datasets")
-def delete_phenotypes(# pylint: disable=[unused-argument]
+def delete_phenotypes(# pylint: disable=[unused-argument, too-many-locals]
         species: dict,
         population: dict,
         dataset: dict,