From 404bcae30f56556f3185a194d4b21556ed380184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20Poyatos?= Date: Tue, 17 Jun 2025 15:17:20 +0200 Subject: [PATCH] chore: apply noqa for vulture --- api/src/backend/api/operations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/backend/api/operations.py b/api/src/backend/api/operations.py index ba3e0e4e7d..9782970566 100644 --- a/api/src/backend/api/operations.py +++ b/api/src/backend/api/operations.py @@ -26,10 +26,10 @@ class CreatePartitionedIndex(Operation): self.all_partitions = all_partitions self.create_parent_index = create_parent_index - def state_forwards(self, app_label, state): + def state_forwards(self, app_label, state): # noqa: F841 pass # No state change - def database_forwards(self, app_label, schema_editor, from_state, to_state): + def database_forwards(self, app_label, schema_editor, from_state, to_state): # noqa: F841 parent_index_name = f"{self.index_name}" where_sql = f" WHERE {self.where}" if self.where else "" @@ -74,7 +74,7 @@ class CreatePartitionedIndex(Operation): f"Warning: Could not attach index {child_index_name}: {e}" ) - def database_backwards(self, app_label, schema_editor, from_state, to_state): + def database_backwards(self, app_label, schema_editor, from_state, to_state): # noqa: F841 if self.create_parent_index: parent_index_name = self.index_name drop_parent_sql = f"DROP INDEX IF EXISTS {parent_index_name};"