variance_case.py:13: error: Argument 1 to "takes_object_list" has incompatible type "list[int]"; expected "list[object]" [arg-type] variance_case.py:13: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance variance_case.py:13: note: Consider using "Sequence" instead, which is covariant Found 1 error in 1 file (checked 1 source file)