Enable ruff RUF100 rule (#11337)

This commit is contained in:
Maxim Smolskiy
2024-04-01 22:36:41 +03:00
committed by GitHub
parent c328b000ec
commit 39daaf8248
14 changed files with 23 additions and 24 deletions

View File

@ -38,7 +38,7 @@ def longest_common_subsequence(x: str, y: str):
n = len(y)
# declaring the array for storing the dp values
l = [[0] * (n + 1) for _ in range(m + 1)] # noqa: E741
l = [[0] * (n + 1) for _ in range(m + 1)]
for i in range(1, m + 1):
for j in range(1, n + 1):