Fix pylab mypy #25799
Annotations
10 errors and 1 warning
lib/matplotlib/pylab.py#L50
[mypy] reported by reviewdog 🐶
Name "fft" already defined (by an import) [no-redef]
Raw Output:
lib/matplotlib/pylab.py:50: error: Name "fft" already defined (by an import) [no-redef]
|
lib/matplotlib/pylab.py#L51
[mypy] reported by reviewdog 🐶
Name "random" already defined (by an import) [no-redef]
Raw Output:
lib/matplotlib/pylab.py:51: error: Name "random" already defined (by an import) [no-redef]
|
lib/matplotlib/pylab.py#L51
[mypy] reported by reviewdog 🐶
Incompatible import of "power" (imported name has type overloaded function, local name has type "_UFunc_Nin2_Nout1[Literal['power'], Literal[18], None]") [assignment]
Raw Output:
lib/matplotlib/pylab.py:51: error: Incompatible import of "power" (imported name has type overloaded function, local name has type "_UFunc_Nin2_Nout1[Literal['power'], Literal[18], None]") [assignment]
|
lib/matplotlib/pylab.py#L52
[mypy] reported by reviewdog 🐶
Name "outer" already defined (possibly by an import) [no-redef]
Raw Output:
lib/matplotlib/pylab.py:52: error: Name "outer" already defined (possibly by an import) [no-redef]
|
lib/matplotlib/pylab.py#L52
[mypy] reported by reviewdog 🐶
Name "trace" already defined (possibly by an import) [no-redef]
Raw Output:
lib/matplotlib/pylab.py:52: error: Name "trace" already defined (possibly by an import) [no-redef]
|
lib/matplotlib/pylab.py#L52
[mypy] reported by reviewdog 🐶
Name "diagonal" already defined (possibly by an import) [no-redef]
Raw Output:
lib/matplotlib/pylab.py:52: error: Name "diagonal" already defined (possibly by an import) [no-redef]
|
lib/matplotlib/pylab.py#L52
[mypy] reported by reviewdog 🐶
Name "cross" already defined (possibly by an import) [no-redef]
Raw Output:
lib/matplotlib/pylab.py:52: error: Name "cross" already defined (possibly by an import) [no-redef]
|
lib/matplotlib/pylab.py#L52
[mypy] reported by reviewdog 🐶
Incompatible import of "matmul" (imported name has type overloaded function, local name has type "_GUFunc_Nin2_Nout1[Literal['matmul'], Literal[19], None, Literal['(n?,k),(k,m?)->(n?,m?)']]") [assignment]
Raw Output:
lib/matplotlib/pylab.py:52: error: Incompatible import of "matmul" (imported name has type overloaded function, local name has type "_GUFunc_Nin2_Nout1[Literal['matmul'], Literal[19], None, Literal['(n?,k),(k,m?)->(n?,m?)']]") [assignment]
|
lib/matplotlib/pylab.py#L65
[mypy] reported by reviewdog 🐶
Cannot assign to a type [misc]
Raw Output:
lib/matplotlib/pylab.py:65: error: Cannot assign to a type [misc]
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The logs for this run have expired and are no longer available.
Loading