pass pre-commit

This commit is contained in:
Lendemor 2025-01-31 22:32:29 +01:00
parent 0cc005b0bb
commit f38d7e4a59
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ repos:
entry: python3 scripts/make_pyi.py
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.392
rev: v1.1.393
hooks:
- id: pyright
args: [reflex, tests]

View File

@ -622,7 +622,7 @@ def _generate_component_create_functiondef(
defaults=[],
)
definition = ast.FunctionDef(
definition = ast.FunctionDef( # pyright: ignore [reportCallIssue]
name="create",
args=create_args,
body=[ # pyright: ignore [reportArgumentType]
@ -684,7 +684,7 @@ def _generate_staticmethod_call_functiondef(
else []
),
)
definition = ast.FunctionDef(
definition = ast.FunctionDef( # pyright: ignore [reportCallIssue]
name="__call__",
args=call_args,
body=[