mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 18:49:26 +08:00
Upgrade to flake8 v6 (#8007)
* Upgrade to flake8 v6 * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -106,7 +106,7 @@ class SegmentTree(Generic[T]):
|
||||
l, r = l + self.N, r + self.N
|
||||
|
||||
res: T | None = None
|
||||
while l <= r: # noqa: E741
|
||||
while l <= r:
|
||||
if l % 2 == 1:
|
||||
res = self.st[l] if res is None else self.fn(res, self.st[l])
|
||||
if r % 2 == 0:
|
||||
|
Reference in New Issue
Block a user