Skip to content

Commit 2c6abd3

Browse files
committed
precommit fix
1 parent 26da88f commit 2c6abd3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

codeflash/code_utils/code_extractor.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,9 @@ def __init__(self, global_statements: list[cst.SimpleStatementLine], last_import
317317
self.inserted = False
318318

319319
def leave_SimpleStatementLine(
320-
self, original_node: cst.SimpleStatementLine, updated_node: cst.SimpleStatementLine
320+
self,
321+
original_node: cst.SimpleStatementLine, # noqa: ARG002
322+
updated_node: cst.SimpleStatementLine,
321323
) -> cst.Module:
322324
self.current_line += 1
323325

@@ -356,7 +358,9 @@ def find_last_import_line(target_code: str) -> int:
356358

357359
class FutureAliasedImportTransformer(cst.CSTTransformer):
358360
def leave_ImportFrom(
359-
self, original_node: cst.ImportFrom, updated_node: cst.ImportFrom
361+
self,
362+
original_node: cst.ImportFrom, # noqa: ARG002
363+
updated_node: cst.ImportFrom,
360364
) -> cst.BaseSmallStatement | cst.FlattenSentinel[cst.BaseSmallStatement] | cst.RemovalSentinel:
361365
import libcst.matchers as m
362366

0 commit comments

Comments
 (0)