From cf7397dbe6648bf40ff850c78327272294ded220 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 1 Aug 2023 00:59:03 -0500
Subject: [PATCH] Ignore spurious use-before-assignment pylint warning

---
 pytools/datatable.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pytools/datatable.py b/pytools/datatable.py
index 41c5690..4fcb03e 100644
--- a/pytools/datatable.py
+++ b/pytools/datatable.py
@@ -244,7 +244,7 @@ class DataTable:
                 if outer:
                     this_batch = [(None,) * len(self.column_names)]
 
-            if run_other and not other_over:
+            if run_other and not other_over:  # pylint: disable=used-before-assignment  # noqa: E501
                 key = other_key
                 while other_row[other_key_idx] == other_key:
                     other_batch.append(other_row)
-- 
GitLab