Apply flake8+pycodestyles autofixes #444
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
11 errors and 10 warnings
|
hygiene
The process '/opt/hostedtoolcache/ruff/0.11.2/x86_64/ruff' failed with exit code 2
|
|
test:
stubs/matplotlib/_mathtext.pyi#L36
Method "get_xheight" overrides class "Fonts" in an incompatible manner
Parameter 2 name mismatch: base parameter is named "font", override parameter is named "fontname" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/_mathtext.pyi#L68
"get_sized_alternatives_for_symbol" overrides method of same name in class "UnicodeFonts" with incompatible type "_lru_cache_wrapper[list[tuple[Unknown, ...]]]" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/_mathtext.pyi#L121
Method "render" overrides class "Node" in an incompatible manner
Positional parameter count mismatch; base method has 3, but override has 5
Parameter 2 name mismatch: base parameter is named "x", override parameter is named "x1"
Parameter 3 name mismatch: base parameter is named "y", override parameter is named "y1" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/_mathtext.pyi#L157
Method "render" overrides class "Box" in an incompatible manner
Parameter 2 name mismatch: base parameter is named "x1", override parameter is named "x"
Parameter 3 name mismatch: base parameter is named "y1", override parameter is named "y"
Parameter 4 name mismatch: base parameter is named "x2", override parameter is named "w"
Parameter 5 name mismatch: base parameter is named "y2", override parameter is named "h" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/animation.pyi#L72
"frame_format" overrides symbol of same name in class "MovieWriter"
"property" is not assignable to "str" (reportIncompatibleVariableOverride)
|
|
test:
stubs/matplotlib/animation.pyi#L120
Method "setup" overrides class "FileMovieWriter" in an incompatible manner
Parameter 4 type mismatch: base parameter is type "float | None", override parameter is type "float"
Parameter 4 mismatch: base parameter has default argument value, override parameter does not
Parameter 5 name mismatch: base parameter is named "frame_prefix", override parameter is named "frame_dir"
Type "float | None" is not assignable to type "float"
"None" is not assignable to "float" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/axes/_axes.pyi#L42
"viewLim" incorrectly overrides property of same name in class "_AxesBase" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/axes/_axes.pyi#L43
"figure" incorrectly overrides property of same name in class "Artist" (reportIncompatibleMethodOverride)
|
|
test:
stubs/matplotlib/axes/_axes.pyi#L414
Overload 1 for "hist" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
|
|
test:
stubs/matplotlib/axes/_base.pyi#L46
Method "get_window_extent" overrides class "Artist" in an incompatible manner
Return type mismatch: base method returns type "Bbox", override returns type "TransformedBbox"
"TransformedBbox" is not assignable to "Bbox" (reportIncompatibleMethodOverride)
|
|
test:
stubs/sympy-stubs/core/symbol.pyi#L30
Static methods should not take a "self" or "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/core/symbol.pyi#L64
Static methods should not take a "self" or "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L37
Instance methods should take a "self" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L46
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L55
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L57
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L59
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L61
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L63
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|
|
test:
stubs/sympy-stubs/matrices/common.pyi#L65
Class methods should take a "cls" parameter (reportSelfClsParameterName)
|