Skip to content

Commit

Permalink
Ignore spurious use-before-assignment pylint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 1, 2023
1 parent 567cc8e commit cf7397d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytools/datatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def without(indexable: Tuple[str, ...], idx: int) -> Tuple[str, ...]:
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)
Expand Down

0 comments on commit cf7397d

Please sign in to comment.