Skip to content

Commit

Permalink
tidy: snapshot and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dmadisetti committed Mar 7, 2025
1 parent d0e3886 commit 5f66617
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion marimo/_ast/toplevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
if TYPE_CHECKING:
from collections.abc import Iterator

# Constant for easy resuse in tests
# Constant for easy reuse in tests
HINT_UNPARSABLE = "Cannot parse cell."
HINT_BAD_NAME = (
"Top level definitions cannot be named 'app', '__name__' or 'generated'"
Expand Down
2 changes: 1 addition & 1 deletion marimo/_ast/visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def _visit_and_get_refs(self, node: ast.AST) -> set[Name]:
class), visit the children the node, propagate the refs to the higher
scope and then return the refs."""

# TODO: Update for class_defintion toplevel decorator.
# TODO: Update for class_definition toplevel decorator.
self.ref_stack.append(set())
self.generic_visit(node)
refs = self.ref_stack.pop()
Expand Down
1 change: 1 addition & 0 deletions marimo/_utils/with_skip.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright 2025 Marimo. All rights reserved.
from __future__ import annotations

import sys
Expand Down
1 change: 0 additions & 1 deletion tests/snapshots/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ hstack
icon
iframe
image
import_guard
islands
MarimoIslandGenerator
MarimoIslandStub
Expand Down

0 comments on commit 5f66617

Please sign in to comment.