mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-21 12:16:15 +08:00
296 B
296 B
What it does
Checks for missing required arguments in a call.
Why is this bad?
Failing to provide a required argument will raise a TypeError at runtime.
Examples
def func(x: int): ...
# TypeError: func() missing 1 required positional argument: 'x'
func() # error