TYP: check_untyped_defs core.indexes.base
State: closed

pandas\core\indexes\base.py:975: error: Argument 1 to "format_object_attrs" has incompatible type "Index"; expected "Sequence[Any]"  [arg-type]
pandas\core\indexes\base.py:1612: error: "Index" has no attribute "levels"; maybe "nlevels"?  [attr-defined]
pandas\core\indexes\base.py:1613: error: "Index" has no attribute "codes"  [attr-defined]
pandas\core\indexes\base.py:3763: error: "Index" has no attribute "levels"; maybe "nlevels"?  [attr-defined]
pandas\core\indexes\base.py:3779: error: "Index" has no attribute "codes"  [attr-defined]
pandas\core\indexes\base.py:3787: error: "Index" has no attribute "codes"  [attr-defined]
pandas\core\indexes\base.py:3790: error: "Index" has no attribute "codes"  [attr-defined]
pandas\core\indexes\base.py:3793: error: "Index" has no attribute "levels"; maybe "nlevels"?  [attr-defined]
pandas\core\indexes\base.py:3837: error: "Index" has no attribute "codes"  [attr-defined]
pandas\core\indexes\base.py:3840: error: "Index" has no attribute "codes"  [attr-defined]
pandas\core\indexes\base.py:4807: error: Too many arguments for "get_indexer_non_unique" of "Index"  [call-arg]
pandas\core\indexes\base.py:5403: error: Cannot assign to a method  [assignment]
pandas\core\indexes\base.py:5404: error: Cannot assign to a method  [assignment]
pandas\core\indexes\base.py:5405: error: Unsupported left operand type for < ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5406: error: Unsupported left operand type for > ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5407: error: Unsupported left operand type for <= ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5408: error: Unsupported left operand type for >= ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5415: error: Unsupported left operand type for + ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5416: error: "Type[Index]" has no attribute "__radd__"  [attr-defined]
pandas\core\indexes\base.py:5417: error: Unsupported left operand type for - ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5418: error: "Type[Index]" has no attribute "__rsub__"  [attr-defined]
pandas\core\indexes\base.py:5419: error: "Type[Index]" has no attribute "__rpow__"  [attr-defined]
pandas\core\indexes\base.py:5420: error: Unsupported left operand type for ** ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5422: error: Unsupported left operand type for / ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5423: error: "Type[Index]" has no attribute "__rtruediv__"  [attr-defined]
pandas\core\indexes\base.py:5425: error: Unsupported left operand type for % ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5426: error: "Type[Index]" has no attribute "__rmod__"  [attr-defined]
pandas\core\indexes\base.py:5427: error: Unsupported left operand type for // ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5428: error: "Type[Index]" has no attribute "__rfloordiv__"  [attr-defined]
pandas\core\indexes\base.py:5429: error: Unsupported left operand type for divmod ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5430: error: "Type[Index]" has no attribute "__rdivmod__"  [attr-defined]
pandas\core\indexes\base.py:5431: error: Unsupported left operand type for * ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5432: error: "Type[Index]" has no attribute "__rmul__"  [attr-defined]
pandas\core\indexes\base.py:5449: error: Unsupported operand type for unary - ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5450: error: Unsupported operand type for unary + ("Type[Index]")  [operator]
pandas\core\indexes\base.py:5451: error: "Type[Index]" has no attribute "__abs__"  [attr-defined]
pandas\core\indexes\base.py:5452: error: "Type[Index]" has no attribute "__inv__"  [attr-defined]
pandas\core\indexes\base.py:5564: error: "Type[Index]" has no attribute "all"  [attr-defined]
pandas\core\indexes\base.py:5567: error: "Type[Index]" has no attribute "any"  [attr-defined]
pandas\core\indexes\base.py:5576: error: "Type[Index]" has no attribute "all"  [attr-defined]
pandas\core\indexes\base.py:5577: error: "Type[Index]" has no attribute "any"  [attr-defined]

Labels:
name: Typing
description: type annotations, mypy/pyright type checking

Comments:
can you rebase
restarted the (clearly-unrelated) failing build.  AFAICT on windows `LinePlot._is_ts_plot` is messing up, but no insight as to why
LGTM cc @jreback
thanks @simonjayhawkins really like this cleaning & checking of untyped defs, keep em coming!