8000 Fix pylab mypy · matplotlib/matplotlib@1ee46b7 · GitHub
[go: up one dir, main page]

Skip to content

Fix pylab mypy

Fix pylab mypy #25799

Triggered via pull request December 9, 2024 13:03
Status Failure
Total duration 42s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 3 warnings
flake8: lib/matplotlib/pylab.py#L48
[flake8] reported by reviewdog 🐶 F821 undefined name 'fft' Raw Output: ./lib/matplotlib/pylab.py:48:5: F821 undefined name 'fft'
flake8: lib/matplotlib/pylab.py#L49
[flake8] reported by reviewdog 🐶 F821 undefined name 'random' Raw Output: ./lib/matplotlib/pylab.py:49:5: F821 undefined name 'random'
flake8: lib/matplotlib/pylab.py#L50
[flake8] reported by reviewdog 🐶 E402 module level import not at top of file Raw Output: ./lib/matplotlib/pylab.py:50:1: E402 module level import not at top of file
flake8: lib/matplotlib/pylab.py#L51
[flake8] reported by reviewdog 🐶 E402 module level import not at top of file Raw Output: ./lib/matplotlib/pylab.py:51:1: E402 module level import not at top of file
flake8: lib/matplotlib/pylab.py#L52
[flake8] reported by reviewdog 🐶 E402 module level import not at top of file Raw Output: ./lib/matplotlib/pylab.py:52:1: E402 module level import not at top of file
flake8: lib/matplotlib/pylab.py#L54
[flake8] reported by reviewdog 🐶 E402 module level import not at top of file Raw Output: ./lib/matplotlib/pylab.py:54:1: E402 module level import not at top of file
flake8: lib/matplotlib/pylab.py#L55
[flake8] reported by reviewdog 🐶 E402 module level import not at top of file Raw Output: ./lib/matplotlib/pylab.py:55:1: E402 module level import not at top of file
flake8: lib/matplotlib/pylab.py#L58
[flake8] reported by reviewdog 🐶 E402 module level import not at top of file Raw Output: ./lib/matplotlib/pylab.py:58:1: E402 module level import not at top of file
flake8
Process completed with exit code 1.
mypy: 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]
mypy: 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]
mypy: 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]
mypy: 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]
mypy: 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]
mypy: 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]
mypy: 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]
mypy: 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]
mypy: 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]
mypy
Process completed with exit code 1.
eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
flake8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mypy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
0