Use glyph indices for font tracking in vector formats #11472
Annotations
5 errors
mypy-stubtest
Process completed with exit code 1.
|
mypy-stubtest:
lib/matplotlib/ft2font.pyi:-1#L0
[mypy-stubtest] reported by reviewdog 🐶
matplotlib.ft2font.GlyphIndexType.__init__ is inconsistent, runtime does not have parameter "item"
def (self: matplotlib.ft2font.GlyphIndexType, item: builtins.int)
Runtime:
def (self)
Raw Output:
error: matplotlib.ft2font.GlyphIndexType.__init__ is inconsistent, runtime does not have parameter "item"
Stub: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/ft2font.pyi:-1
def (self: matplotlib.ft2font.GlyphIndexType, item: builtins.int)
Runtime:
def (self)
|
mypy-stubtest:
lib/matplotlib/ft2font.pyi#L17
[mypy-stubtest] reported by reviewdog 🐶
matplotlib.ft2font.GlyphIndexType is a disjoint base at runtime, but isn't marked with @disjoint_base in the stub
<TypeInfo matplotlib.ft2font.GlyphIndexType>
Runtime:
<class 'int'>
Raw Output:
error: matplotlib.ft2font.GlyphIndexType is a disjoint base at runtime, but isn't marked with @disjoint_base in the stub
Stub: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/ft2font.pyi:17
<TypeInfo matplotlib.ft2font.GlyphIndexType>
Runtime:
<class 'int'>
|
mypy-stubtest:
lib/matplotlib/dviread.pyi#L34
[mypy-stubtest] reported by reviewdog 🐶
matplotlib.dviread.Text is a disjoint base at runtime, but isn't marked with @disjoint_base in the stub
<TypeInfo matplotlib.dviread.Text>
Runtime: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/dviread.py:66
def (x, y, font, glyph, width)
Raw Output:
error: matplotlib.dviread.Text is a disjoint base at runtime, but isn't marked with @disjoint_base in the stub
Stub: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/dviread.pyi:34
<TypeInfo matplotlib.dviread.Text>
Runtime: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/dviread.py:66
def (x, y, font, glyph, width)
|
mypy-stubtest:
lib/matplotlib/container.pyi#L10
[mypy-stubtest] reported by reviewdog 🐶
matplotlib.container.Container is a disjoint base at runtime, but isn't marked with @disjoint_base in the stub
<TypeInfo matplotlib.container.Container>
Runtime: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/container.py:5
def (*args, **kwargs)
Raw Output:
error: matplotlib.container.Container is a disjoint base at runtime, but isn't marked with @disjoint_base in the stub
Stub: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/container.pyi:10
<TypeInfo matplotlib.container.Container>
Runtime: in file /home/runner/work/matplotlib/matplotlib/lib/matplotlib/container.py:5
def (*args, **kwargs)
|