mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
Enable ruff RUF100 rule (#11337)
This commit is contained in:
@ -66,7 +66,7 @@ class MinHeap:
|
||||
# this is min-heapify method
|
||||
def sift_down(self, idx, array):
|
||||
while True:
|
||||
l = self.get_left_child_idx(idx) # noqa: E741
|
||||
l = self.get_left_child_idx(idx)
|
||||
r = self.get_right_child_idx(idx)
|
||||
|
||||
smallest = idx
|
||||
|
Reference in New Issue
Block a user