Skip to content

Commit 9a319ce

Browse files
⬆️ Bump ruff from 0.14.4 to 0.14.5 (#13708)
* ⬆️ Bump ruff from 0.14.4 to 0.14.5 * fix SIM113
1 parent 67801cf commit 9a319ce

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

dojo/tools/nexpose/parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,14 @@ def parse_html_type(self, node):
6363
ret += "<li>" + str(node.text).strip() + "</li>"
6464
if tag == "orderedlist":
6565
i = 1
66-
for item in list(node):
66+
for i, item in enumerate(node):
6767
ret += (
6868
"<ol>"
6969
+ str(i)
7070
+ " "
7171
+ self.parse_html_type(item)
7272
+ "</ol>"
7373
)
74-
i += 1
7574
if tag == "paragraph":
7675
if len(list(node)) > 0:
7776
for child in list(node):

requirements-lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruff==0.14.4
1+
ruff==0.14.5

0 commit comments

Comments
 (0)