Skip to content

Commit 355ec35

Browse files
committed
Add noqa comment to suppress F824 warning for nonlocal variable
1 parent 12003c0 commit 355ec35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codetide/core/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def block_div(name, label, cls, onclick=None, block_id=None):
7474
return div
7575

7676
def _render_node(node, container_class, parent_id=None):
77-
nonlocal html_lines
77+
nonlocal html_lines # noqa: F824
7878
items = [(k, v) for k, v in node.items() if not k.startswith("_")]
7979
items.sort(key=lambda x: (x[1].get("_type") != "directory", x[0]))
8080

0 commit comments

Comments
 (0)