Skip to content

Commit 2675ab5

Browse files
committed
typing: missing signatures
1 parent 23e3a25 commit 2675ab5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

marimo/_lint/rules/runtime/branch_expression.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async def check(self, ctx: RuleContext) -> None:
131131
continue
132132

133133
async def _check_if_statement(
134-
self, node: ast.If, cell, ctx: RuleContext
134+
self, node: ast.If, cell: CellDef, ctx: RuleContext
135135
) -> None:
136136
"""Check if an if statement has all branches ending with expressions."""
137137
branches = self._collect_if_branches(node)
@@ -144,7 +144,7 @@ async def _check_if_statement(
144144
await self._report_diagnostic(node, cell, ctx, "if statement")
145145

146146
async def _check_match_statement(
147-
self, node: ast.Match, cell, ctx: RuleContext
147+
self, node: ast.Match, cell: CellDef, ctx: RuleContext
148148
) -> None:
149149
"""Check if a match statement has all cases ending with expressions."""
150150
if not node.cases:
@@ -157,7 +157,7 @@ async def _check_match_statement(
157157
await self._report_diagnostic(node, cell, ctx, "match statement")
158158

159159
async def _check_try_statement(
160-
self, node: ast.Try, cell, ctx: RuleContext
160+
self, node: ast.Try, cell: CellDef, ctx: RuleContext
161161
) -> None:
162162
"""Check if a try statement has all branches ending with expressions."""
163163
branches = [node.body]

0 commit comments

Comments
 (0)