Skip to content

Commit f38d7e4

Browse files
committed
pass pre-commit
1 parent 0cc005b commit f38d7e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
entry: python3 scripts/make_pyi.py
2929

3030
- repo: https://github.com/RobertCraigie/pyright-python
31-
rev: v1.1.392
31+
rev: v1.1.393
3232
hooks:
3333
- id: pyright
3434
args: [reflex, tests]

reflex/utils/pyi_generator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def figure_out_return_type(annotation: Any):
622622
defaults=[],
623623
)
624624

625-
definition = ast.FunctionDef(
625+
definition = ast.FunctionDef( # pyright: ignore [reportCallIssue]
626626
name="create",
627627
args=create_args,
628628
body=[ # pyright: ignore [reportArgumentType]
@@ -684,7 +684,7 @@ def _generate_staticmethod_call_functiondef(
684684
else []
685685
),
686686
)
687-
definition = ast.FunctionDef(
687+
definition = ast.FunctionDef( # pyright: ignore [reportCallIssue]
688688
name="__call__",
689689
args=call_args,
690690
body=[

0 commit comments

Comments
 (0)