Accept suggestions from new toolchain · rec/dtyper@e7dffe0

Original file line numberDiff line numberDiff line change

@@ -338,7 +338,7 @@ def make_dataclass_args(

338338

# is called twice on the same function.

339339

typer_command = getattr(typer_command, '_dtyper_dec', typer_command)

340340
341-

def param_to_field_desc(p) -> t.Tuple[t.Any, ...]: # type: ignore[no-untyped-def]

341+

def param_to_field_desc(p) -> t.Tuple[t.Any, ...]:

342342

if p.default is inspect.Parameter.empty:

343343

return p.name, p.annotation

344344

else: