Skip to content

Commit a7c7bfb

Browse files
committed
chore: make ruff happy ;-)
1 parent ef62638 commit a7c7bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/robotcode/core/utils/safe_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Transformer(ast.NodeTransformer):
4747
def __init__(self, allowed_names: Optional[Sequence[str]]) -> None:
4848
self.allowed_names = (*self.STD_ALLOWED_NAMES, *(allowed_names or []))
4949

50-
def visit_Name(self, node: ast.Name) -> ast.AST: # noqa: N802
50+
def visit_Name(self, node: ast.Name) -> ast.AST:
5151
if node.id not in self.allowed_names:
5252
raise NameError(f"Name access to '{node.id}' is not allowed")
5353

0 commit comments

Comments
 (0)