Check arguments in calls [call-arg]

Mypy expects that the number and names of arguments match the called function.Note that argument type checks have a separate error code arg-type.

Example:

  1. from typing import Sequence
  2.  
  3. def greet(name: str) -> None:
  4. print('hello', name)
  5.  
  6. greet('jack') # OK
  7. greet('jill', 'jack') # Error: Too many arguments for "greet" [call-arg]