Add tests for @functools.cache
~~Last tried in #7771, let's see what happens nowadays.~~
Diff from mypy_primer, showing the effect of this PR on open source code:
manticore (https://github.com/trailofbits/manticore)
+ manticore/core/smtlib/solver.py:505: error: Signature of "can_be_true" incompatible with supertype "Solver" [override]
+ manticore/core/smtlib/solver.py:505: note: Superclass:
+ manticore/core/smtlib/solver.py:505: note: def can_be_true(self, constraints: Any, expression: Any = ...) -> bool
+ manticore/core/smtlib/solver.py:505: note: Subclass:
+ manticore/core/smtlib/solver.py:505: note: _lru_cache_wrapper[[SMTLIBSolver, ConstraintSet, Union[bool, Bool]], bool]
+ manticore/core/smtlib/solver.py:605: error: Signature of "get_all_values" incompatible with supertype "Solver" [override]
+ manticore/core/smtlib/solver.py:605: note: Superclass:
+ manticore/core/smtlib/solver.py:605: note: def get_all_values(self, constraints: Any, x: Any, maxcnt: Any = ..., silent: Any = ...) -> Any
+ manticore/core/smtlib/solver.py:605: note: Subclass:
+ manticore/core/smtlib/solver.py:605: note: _lru_cache_wrapper[[SMTLIBSolver, ConstraintSet, Any, Optional[int], bool], Any]
mypy (https://github.com/python/mypy)
+ mypy/find_sources.py:172: error: Missing positional argument "dir" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mypy/find_sources.py:172: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-call-arg for more info
+ mypy/find_sources.py:172: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "SourceFinder" [arg-type]
+ mypy/find_sources.py:213: error: Missing positional argument "dir" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mypy/find_sources.py:213: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "SourceFinder" [arg-type]
optuna (https://github.com/optuna/optuna)
+ optuna/importance/_fanova/_tree.py:101: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:101: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:106: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:106: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:107: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:107: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:112: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:112: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:124: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:124: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:157: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:157: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:158: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:158: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:163: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:163: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:171: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:171: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:174: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:174: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:210: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:210: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:212: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:212: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:228: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:228: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:231: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:231: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:260: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:260: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:282: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:282: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:283: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:283: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:292: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:292: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ optuna/importance/_fanova/_tree.py:293: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ optuna/importance/_fanova/_tree.py:293: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:218: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:218: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:219: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:219: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:220: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:220: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:221: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:221: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:222: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:222: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:224: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:224: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:225: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:225: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:226: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:226: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:227: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:227: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:228: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:228: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:230: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:230: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:231: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:231: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:232: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:232: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:233: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:233: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:234: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:234: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:236: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:236: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:237: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:237: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:238: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:238: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:239: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:239: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:240: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:240: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:242: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:242: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:243: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:243: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:244: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:244: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:245: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:245: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:246: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:246: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:248: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:248: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:249: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:249: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:250: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:250: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:251: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:251: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:252: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:252: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:254: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:254: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
+ tests/importance_tests/fanova_tests/test_tree.py:255: error: Missing positional argument "node_index" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/importance_tests/fanova_tests/test_tree.py:255: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "_FanovaTree" [arg-type]
bokeh (https://github.com/bokeh/bokeh)
+ src/bokeh/core/property/include.py: note: In member "make_descriptors" of class "Include":
+ src/bokeh/core/property/include.py:66:27: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
rich (https://github.com/Textualize/rich)
+ rich/theme.py:25: error: Missing positional argument "style_definition" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/theme.py:25: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/theme.py:54: error: Missing positional argument "style_definition" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/theme.py:54: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/style.py:147: error: Missing positional argument "color" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:147: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Color]" [arg-type]
+ rich/style.py:368: error: Missing positional argument "system" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:368: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:368: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "ColorSystem"; expected "Color" [arg-type]
+ rich/style.py:371: error: Missing positional argument "system" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:371: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:371: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "ColorSystem"; expected "Color" [arg-type]
+ rich/style.py:391: error: Missing positional argument "style_definition" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:391: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/style.py:527: error: Missing positional argument "color" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:527: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Color]" [arg-type]
+ rich/style.py:554: error: Missing positional argument "color" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:554: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Color]" [arg-type]
+ rich/style.py:758: error: Missing positional argument "style" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/style.py:758: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Style | None"; expected "Style" [arg-type]
+ rich/segment.py:182: error: Missing positional argument "cut" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/segment.py:182: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Segment"; expected "type[Segment]" [arg-type]
+ rich/segment.py:182: error: Argument 2 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "Segment" [arg-type]
+ rich/markup.py:163: error: Missing positional argument "style" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/markup.py:163: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/markup.py:220: error: Missing positional argument "style" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/markup.py:220: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/jupyter.py:72: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "TerminalTheme"; expected "Style" [arg-type]
+ rich/console.py:1497: error: Missing positional argument "style_definition" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/console.py:1497: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/console.py:2258: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "TerminalTheme"; expected "Style" [arg-type]
+ rich/console.py:2270: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "TerminalTheme"; expected "Style" [arg-type]
+ rich/color.py:552: error: Missing positional argument "color" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/color.py:552: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "ColorTriplet"; expected "Palette" [arg-type]
+ rich/color.py:565: error: Missing positional argument "color" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/color.py:565: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "ColorTriplet"; expected "Palette" [arg-type]
+ rich/ansi.py:176: error: Missing positional argument "style_definition" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/ansi.py:176: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Style]" [arg-type]
+ rich/progress_bar.py:144: error: Missing positional argument "no_color" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ rich/progress_bar.py:145: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Style"; expected "ProgressBar" [arg-type]
+ rich/progress_bar.py:145: error: Argument 3 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "Style" [arg-type]
+ rich/progress_bar.py:145: error: Argument 4 to "__call__" of "_lru_cache_wrapper" has incompatible type "bool"; expected "str" [arg-type]
psycopg (https://github.com/psycopg/psycopg)
+ psycopg/psycopg/rows.py:136: error: Argument 2 to "__call__" of "_lru_cache_wrapper" has incompatible type "*Generator[bytes | None, None, None]"; expected "bytes" [arg-type]
mitmproxy (https://github.com/mitmproxy/mitmproxy)
+ mitmproxy/coretypes/serializable.py:83: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/coretypes/serializable.py:91: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/coretypes/serializable.py:99: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/proxy/mode_specs.py:167: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/utils/asyncio_utils.py:74: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Any | str"; expected "tuple[Any, ...] | None" [arg-type]
+ mitmproxy/connection.py:189: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/connection.py:189: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Never]" [arg-type]
+ mitmproxy/tools/console/common.py:808: error: Argument "request_timestamp" to "__call__" of "_lru_cache_wrapper" has incompatible type "float | None"; expected "float" [arg-type]
+ mitmproxy/tools/console/common.py:816: error: Argument "error_message" to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "str" [arg-type]
+ mitmproxy/tools/console/common.py:853: error: Incompatible types in assignment (expression has type "_lru_cache_wrapper[[NamedArg(RenderMode, 'render_mode'), NamedArg(bool, 'focused'), NamedArg(str, 'marked'), NamedArg(str | None, 'is_replay'), NamedArg(str, 'request_method'), NamedArg(str, 'request_scheme'), NamedArg(str, 'request_host'), NamedArg(str, 'request_path'), NamedArg(str, 'request_url'), NamedArg(str, 'request_http_version'), NamedArg(float, 'request_timestamp'), NamedArg(bool, 'request_is_push_promise'), NamedArg(bool, 'intercepted'), NamedArg(int | None, 'response_code'), NamedArg(str | None, 'response_reason'), NamedArg(int | None, 'response_content_length'), NamedArg(str | None, 'response_content_type'), NamedArg(float | None, 'duration'), NamedArg(str | None, 'error_message')], Any]", variable has type "_lru_cache_wrapper[[NamedArg(RenderMode, 'render_mode'), NamedArg(bool, 'focused'), NamedArg(str, 'marked'), NamedArg(bool, 'is_replay'), NamedArg(str, 'request_method'), NamedArg(str, 'request_scheme'), NamedArg(str, 'request_host'), NamedArg(str, 'request_path'), NamedArg(str, 'request_url'), NamedArg(str, 'request_http_version'), NamedArg(float, 'request_timestamp'), NamedArg(bool, 'request_is_push_promise'), NamedArg(bool, 'intercepted'), NamedArg(int | None, 'response_code'), NamedArg(str | None, 'response_reason'), NamedArg(int | None, 'response_content_length'), NamedArg(str | None, 'response_content_type'), NamedArg(float | None, 'duration'), NamedArg(str | None, 'error_message')], Any]") [assignment]
+ mitmproxy/tools/console/common.py:858: error: Argument "is_replay" to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "bool" [arg-type]
+ mitmproxy/command.py:286: error: Missing positional argument "cmdstr" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/command.py:286: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "CommandManager" [arg-type]
+ mitmproxy/test/tflow.py:135: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/test/tflow.py:135: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Never]" [arg-type]
+ mitmproxy/test/tflow.py:236: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/test/tflow.py:236: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Never]" [arg-type]
+ mitmproxy/addons/dns_resolver.py:67: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/addons/dns_resolver.py:94: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/addons/dns_resolver.py:124: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/addons/dns_resolver.py:126: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/proxy/server.py:588: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/proxy/server.py:588: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Never]" [arg-type]
+ mitmproxy/proxy/mode_servers.py:116: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/proxy/mode_servers.py:116: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Never]" [arg-type]
+ mitmproxy/addons/clientplayback.py:98: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/addons/proxyserver.py:109: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/addons/proxyserver.py:109: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[Never]" [arg-type]
+ mitmproxy/addons/proxyserver.py:263: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/addons/proxyserver.py:309: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/master.py:139: error: Missing positional argument "spec" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/commander/commander.py:77: error: Missing positional argument "cmdstr" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/commander/commander.py:77: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "CommandManager" [arg-type]
+ mitmproxy/tools/console/commander/commander.py:109: error: Missing positional argument "cmdstr" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/commander/commander.py:110: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "CommandManager" [arg-type]
+ mitmproxy/tools/console/flowview.py:338: error: Missing positional argument "_" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/flowview.py:339: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "FlowDetails" [arg-type]
+ mitmproxy/tools/console/flowview.py:339: error: Argument 2 to "__call__" of "_lru_cache_wrapper" has incompatible type "int"; expected "str" [arg-type]
+ mitmproxy/tools/console/flowlist.py:78: error: Missing positional argument "pos" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/flowlist.py:81: error: Missing positional argument "pos" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/quickhelp.py:177: error: Missing positional argument "help" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mitmproxy/tools/console/quickhelp.py:177: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "Keymap" [arg-type]
dedupe (https://github.com/dedupeio/dedupe)
+ dedupe/training.py:293: error: Missing positional argument "iterable" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ dedupe/training.py:293: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "frozenset[int]"; expected "Resampler" [arg-type]
core (https://github.com/home-assistant/core)
+ homeassistant/util/unit_conversion.py:107: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/util/unit_conversion.py:107: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/util/unit_conversion.py:118: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/util/unit_conversion.py:118: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/util/unit_conversion.py:144: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/util/unit_conversion.py:144: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/util/unit_conversion.py:161: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/util/unit_conversion.py:161: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/util/unit_conversion.py:540: error: Signature of "converter_factory" incompatible with supertype "BaseUnitConverter" [override]
+ homeassistant/util/unit_conversion.py:540: note: Superclass:
+ homeassistant/util/unit_conversion.py:540: note: _lru_cache_wrapper[[type[BaseUnitConverter], str | None, str | None], Callable[[float], float]]
+ homeassistant/util/unit_conversion.py:540: note: Subclass:
+ homeassistant/util/unit_conversion.py:540: note: _lru_cache_wrapper[[type[SpeedConverter], str | None, str | None], Callable[[float], float]]
+ homeassistant/util/unit_conversion.py:554: error: Signature of "converter_factory_allow_none" incompatible with supertype "BaseUnitConverter" [override]
+ homeassistant/util/unit_conversion.py:554: note: Superclass:
+ homeassistant/util/unit_conversion.py:554: note: _lru_cache_wrapper[[type[BaseUnitConverter], str | None, str | None], Callable[[float | None], float | None]]
+ homeassistant/util/unit_conversion.py:554: note: Subclass:
+ homeassistant/util/unit_conversion.py:554: note: _lru_cache_wrapper[[type[SpeedConverter], str | None, str | None], Callable[[float | None], float | None]]
+ homeassistant/util/unit_conversion.py:620: error: Signature of "converter_factory" incompatible with supertype "BaseUnitConverter" [override]
+ homeassistant/util/unit_conversion.py:620: note: Superclass:
+ homeassistant/util/unit_conversion.py:620: note: _lru_cache_wrapper[[type[BaseUnitConverter], str | None, str | None], Callable[[float], float]]
+ homeassistant/util/unit_conversion.py:620: note: Subclass:
+ homeassistant/util/unit_conversion.py:620: note: _lru_cache_wrapper[[type[TemperatureConverter], str | None, str | None], Callable[[float], float]]
+ homeassistant/util/unit_conversion.py:634: error: Signature of "converter_factory_allow_none" incompatible with supertype "BaseUnitConverter" [override]
+ homeassistant/util/unit_conversion.py:634: note: Superclass:
+ homeassistant/util/unit_conversion.py:634: note: _lru_cache_wrapper[[type[BaseUnitConverter], str | None, str | None], Callable[[float | None], float | None]]
+ homeassistant/util/unit_conversion.py:634: note: Subclass:
+ homeassistant/util/unit_conversion.py:634: note: _lru_cache_wrapper[[type[TemperatureConverter], str | None, str | None], Callable[[float | None], float | None]]
+ homeassistant/util/unit_conversion.py:700: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/util/unit_conversion.py:700: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/helpers/temperature.py:28: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/helpers/temperature.py:28: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[TemperatureConverter]" [arg-type]
+ homeassistant/helpers/entity.py:1214: error: Missing positional argument "entity_id" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/helpers/entity.py:1214: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "EntityValues" [arg-type]
+ homeassistant/components/camera/webrtc.py:62: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/camera/webrtc.py:89: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/sensor/__init__.py:161: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/sensor/__init__.py:161: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/components/sensor/__init__.py:714: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/sensor/__init__.py:715: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/components/number/__init__.py:472: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/number/__init__.py:473: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/components/number/__init__.py:496: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/number/__init__.py:497: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/components/recorder/statistics.py:369: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/recorder/statistics.py:372: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/recorder/statistics.py:385: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/recorder/statistics.py:396: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/hassio/ingress.py:134: error: Missing positional argument "path" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/hassio/ingress.py:134: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "HassIOIngress" [arg-type]
+ homeassistant/components/hassio/ingress.py:170: error: Missing positional argument "path" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/hassio/ingress.py:170: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "HassIOIngress" [arg-type]
+ homeassistant/components/xiaomi_aqara/config_flow.py:216: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "str" [arg-type]
+ homeassistant/components/prometheus/__init__.py:730: error: Missing positional argument "entity_id" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/prometheus/__init__.py:730: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "EntityValues" [arg-type]
+ homeassistant/components/bsblan/config_flow.py:313: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "str" [arg-type]
+ homeassistant/components/nest/camera.py:268: error: Argument 1 to "async_add_executor_job" of "HomeAssistant" has incompatible type "_lru_cache_wrapper[[type[NestWebRTCEntity]], bytes]"; expected "Callable[[], bytes | None]" [arg-type]
+ homeassistant/components/nest/camera.py:268: note: "_lru_cache_wrapper[[type[NestWebRTCEntity]], bytes].__call__" has type "Callable[[Arg(type[NestWebRTCEntity], 'cls')], bytes]"
+ homeassistant/components/influxdb/__init__.py:246: error: Missing positional argument "entity_id" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/influxdb/__init__.py:246: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "EntityValues" [arg-type]
+ homeassistant/components/emulated_hue/hue_api.py:899: error: Missing positional argument "entity_id" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/emulated_hue/hue_api.py:899: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "Config" [arg-type]
+ homeassistant/components/emulated_hue/hue_api.py:900: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/mqtt/client.py:905: error: Missing positional argument "topic" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/mqtt/client.py:905: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "MQTT" [arg-type]
+ homeassistant/components/mqtt/client.py:1124: error: Missing positional argument "topic" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/sensor/recorder.py:325: error: Missing positional argument "to_unit" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/sensor/recorder.py:325: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Any | None"; expected "type[BaseUnitConverter]" [arg-type]
+ homeassistant/components/mqtt_room/sensor.py:199: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Any | None"; expected "str" [arg-type]
+ homeassistant/components/ecovacs/sensor.py:389: error: Argument "battery_level" to "__call__" of "_lru_cache_wrapper" has incompatible type "str | int | float | None"; expected "int | None" [arg-type]
+ homeassistant/components/esphome/manager.py:460: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "str" [arg-type]
+ homeassistant/components/esphome/manager.py:1148: error: Missing positional argument "hass" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/esphome/manager.py:1148: error: Need type annotation for "domain_data" [var-annotated]
+ homeassistant/components/esphome/manager.py:1148: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "HomeAssistant"; expected "type[Never]" [arg-type]
+ homeassistant/components/esphome/light.py:182: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:191: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:202: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:211: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:212: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:217: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:229: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:246: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:251: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:265: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/light.py:346: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "tuple[Any, ...]"; expected "list[Any]" [arg-type]
+ homeassistant/components/esphome/config_flow.py:577: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "str" [arg-type]
+ homeassistant/components/esphome/config_flow.py:620: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str | None"; expected "str" [arg-type]
+ homeassistant/components/esphome/__init__.py:57: error: Missing positional argument "hass" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/esphome/__init__.py:57: error: Need type annotation for "domain_data" [var-annotated]
+ homeassistant/components/esphome/__init__.py:57: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "HomeAssistant"; expected "type[Never]" [arg-type]
+ homeassistant/components/esphome/__init__.py:90: error: Missing positional argument "hass" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ homeassistant/components/esphome/__init__.py:90: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "HomeAssistant"; expected "type[Never]" [arg-type]
mkdocs (https://github.com/mkdocs/mkdocs)
+ mkdocs/livereload/__init__.py:281: error: Missing positional argument "url" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ mkdocs/config/config_options.py:1187: error: Missing positional argument "path" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
isort (https://github.com/pycqa/isort)
+ isort/deprecated/finders.py:295: error: Missing positional argument "path" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ isort/deprecated/finders.py:295: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[RequirementsFinder]" [arg-type]
+ isort/deprecated/finders.py:328: error: Missing positional argument "path" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ isort/deprecated/finders.py:328: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[RequirementsFinder]" [arg-type]
materialize (https://github.com/MaterializeInc/materialize)
+ misc/python/materialize/mzbuild.py:767: error: Signature of "inputs" incompatible with supertype "CargoPreImage" [override]
+ misc/python/materialize/mzbuild.py:767: note: Superclass:
+ misc/python/materialize/mzbuild.py:767: note: def inputs(self) -> set[str]
+ misc/python/materialize/mzbuild.py:767: note: Subclass:
+ misc/python/materialize/mzbuild.py:767: note: _lru_cache_wrapper[[CargoBuild], set[str]]
+ misc/python/materialize/mzbuild.py:767: error: Signature of "inputs" incompatible with supertype "PreImage" [override]
+ misc/python/materialize/mzbuild.py:767: note: Superclass:
+ misc/python/materialize/mzbuild.py:767: note: def inputs(self) -> set[str]
+ misc/python/materialize/mzbuild.py:767: note: Subclass:
+ misc/python/materialize/mzbuild.py:767: note: _lru_cache_wrapper[[CargoBuild], set[str]]
+ misc/python/materialize/mzbuild.py:893: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:912: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:927: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:939: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:972: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:986: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:995: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1000: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1049: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1050: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1077: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1113: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "Literal[True]"; expected "ResolvedImage" [arg-type]
+ misc/python/materialize/mzbuild.py:1130: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1163: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzbuild.py:1188: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/mzcompose/composition.py:280: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/cloudtest/k8s/api/k8s_resource.py:114: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/cli/mzimage.py:41: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/cli/mzimage.py:43: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/cli/mzimage.py:49: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
- misc/python/materialize/benches/avro_ingest.py:118: error: Redundant cast to "Container" [redundant-cast]
+ misc/python/materialize/benches/avro_ingest.py:120: error: No overload variant of "run" of "ContainerCollection" matches argument types "str", "bool", "str" [call-overload]
+ misc/python/materialize/benches/avro_ingest.py:120: note: Possible overload variants:
+ misc/python/materialize/benches/avro_ingest.py:120: note: def run(self, image: str | Image, command: str | list[str] | None = ..., stdout: bool = ..., stderr: bool = ..., remove: bool = ..., *, auto_remove: bool = ..., blkio_weight_device: list[ContainerWeightDevice] | None = ..., blkio_weight: int | None = ..., cap_add: list[str] | None = ..., cap_drop: list[str] | None = ..., cgroup_parent: str | None = ..., cgroupns: Literal['private', 'host'] | None = ..., cpu_count: int | None = ..., cpu_percent: int | None = ..., cpu_period: int | None = ..., cpu_quota: int | None = ..., cpu_rt_period: int | None = ..., cpu_rt_runtime: int | None = ..., cpu_shares: int | None = ..., cpuset_cpus: str | None = ..., cpuset_mems: str | None = ..., detach: Literal[False] = ..., device_cgroup_rules: list[Any] | None = ..., device_read_bps: list[Mapping[str, str | int]] | None = ..., device_read_iops: list[Mapping[str, str | int]] | None = ..., device_write_bps: list[Mapping[str, str | int]] | None = ..., device_write_iops: list[Mapping[str, str | int]] | None = ..., devices: list[str] | None = ..., device_requests: list[DeviceRequest] | None = ..., dns: list[Any] | None = ..., dns_opt: list[Any] | None = ..., dns_search: list[Any] | None = ..., domainname: str | list[Any] | None = ..., entrypoint: str | list[str] | None = ..., environment: dict[str, str] | list[str] | None = ..., extra_hosts: dict[str, str] | None = ..., group_add: Iterable[str | int] | None = ..., healthcheck: dict[Any, Any] | None = ..., hostname: str | None = ..., init: bool | None = ..., init_path: str | None = ..., ipc_mode: str | None = ..., isolation: str | None = ..., kernel_memory: str | int | None = ..., labels: dict[str, str] | list[str] | None = ..., links: dict[str, str] | dict[str, None] | dict[str, str | None] | Iterable[tuple[str, str | None]] | None = ..., log_config: LogConfig | None = ..., lxc_conf: dict[Any, Any] | None = ..., mac_address: str | None = ..., mem_limit: str | int | None = ..., mem_reservation: str | int | None = ..., mem_swappiness: int | None = ..., memswap_limit: str | int | None = ..., mounts: list[Mount] | None = ..., name: str | None = ..., nano_cpus: int | None = ..., network: str | None = ..., network_disabled: bool = ..., network_mode: str | None = ..., networking_config: dict[str, EndpointConfig] | None = ..., oom_kill_disable: bool = ..., oom_score_adj: int | None = ..., pid_mode: str | None = ..., pids_limit: int | None = ..., platform: str | None = ..., ports: Mapping[str, int | list[int] | tuple[str, int] | None] | None = ..., privileged: bool = ..., publish_all_ports: bool = ..., read_only: bool | None = ..., restart_policy: _RestartPolicy | None = ..., runtime: str | None = ..., security_opt: list[str] | None = ..., shm_size: str | int | None = ..., stdin_open: bool = ..., stop_signal: str | None = ..., storage_opt: dict[Any, Any] | None = ..., stream: bool = ..., sysctls: dict[Any, Any] | None = ..., tmpfs: dict[str, str] | None = ..., tty: bool = ..., ulimits: list[Ulimit] | None = ..., use_config_proxy: bool | None = ..., user: str | int | None = ..., userns_mode: str | None = ..., uts_mode: str | None = ..., version: str | None = ..., volume_driver: str | None = ..., volumes: dict[str, dict[str, str]] | list[str] | None = ..., volumes_from: list[str] | None = ..., working_dir: str | None = ...) -> bytes
+ misc/python/materialize/benches/avro_ingest.py:120: note: def run(self, image: str | Image, command: str | list[str] | None = ..., stdout: bool = ..., stderr: bool = ..., remove: bool = ..., *, auto_remove: bool = ..., blkio_weight_device: list[ContainerWeightDevice] | None = ..., blkio_weight: int | None = ..., cap_add: list[str] | None = ..., cap_drop: list[str] | None = ..., cgroup_parent: str | None = ..., cgroupns: Literal['private', 'host'] | None = ..., cpu_count: int | None = ..., cpu_percent: int | None = ..., cpu_period: int | None = ..., cpu_quota: int | None = ..., cpu_rt_period: int | None = ..., cpu_rt_runtime: int | None = ..., cpu_shares: int | None = ..., cpuset_cpus: str | None = ..., cpuset_mems: str | None = ..., detach: Literal[True], device_cgroup_rules: list[Any] | None = ..., device_read_bps: list[Mapping[str, str | int]] | None = ..., device_read_iops: list[Mapping[str, str | int]] | None = ..., device_write_bps: list[Mapping[str, str | int]] | None = ..., device_write_iops: list[Mapping[str, str | int]] | None = ..., devices: list[str] | None = ..., device_requests: list[DeviceRequest] | None = ..., dns: list[Any] | None = ..., dns_opt: list[Any] | None = ..., dns_search: list[Any] | None = ..., domainname: str | list[Any] | None = ..., entrypoint: str | list[str] | None = ..., environment: dict[str, str] | list[str] | None = ..., extra_hosts: dict[str, str] | None = ..., group_add: Iterable[str | int] | None = ..., healthcheck: dict[Any, Any] | None = ..., hostname: str | None = ..., init: bool | None = ..., init_path: str | None = ..., ipc_mode: str | None = ..., isolation: str | None = ..., kernel_memory: str | int | None = ..., labels: dict[str, str] | list[str] | None = ..., links: dict[str, str] | dict[str, None] | dict[str, str | None] | Iterable[tuple[str, str | None]] | None = ..., log_config: LogConfig | None = ..., lxc_conf: dict[Any, Any] | None = ..., mac_address: str | None = ..., mem_limit: str | int | None = ..., mem_reservation: str | int | None = ..., mem_swappiness: int | None = ..., memswap_limit: str | int | None = ..., mounts: list[Mount] | None = ..., name: str | None = ..., nano_cpus: int | None = ..., network: str | None = ..., network_disabled: bool = ..., network_mode: str | None = ..., networking_config: dict[str, EndpointConfig] | None = ..., oom_kill_disable: bool = ..., oom_score_adj: int | None = ..., pid_mode: str | None = ..., pids_limit: int | None = ..., platform: str | None = ..., ports: Mapping[str, int | list[int] | tuple[str, int] | None] | None = ..., privileged: bool = ..., publish_all_ports: bool = ..., read_only: bool | None = ..., restart_policy: _RestartPolicy | None = ..., runtime: str | None = ..., security_opt: list[str] | None = ..., shm_size: str | int | None = ..., stdin_open: bool = ..., stop_signal: str | None = ..., storage_opt: dict[Any, Any] | None = ..., stream: bool = ..., sysctls: dict[Any, Any] | None = ..., tmpfs: dict[str, str] | None = ..., tty: bool = ..., ulimits: list[Ulimit] | None = ..., use_config_proxy: bool | None = ..., user: str | int | None = ..., userns_mode: str | None = ..., uts_mode: str | None = ..., version: str | None = ..., volume_driver: str | None = ..., volumes: dict[str, dict[str, str]] | list[str] | None = ..., volumes_from: list[str] | None = ..., working_dir: str | None = ...) -> Container
+ misc/python/materialize/benches/avro_ingest.py:121: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/benches/avro_ingest.py:128: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/cli/mzcompose.py:611: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/cloudtest/app/cloudtest_application_base.py:72: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/ci_util/upload_debug_symbols_to_polarsignals.py:98: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/ci_util/upload_debug_symbols_to_polarsignals.py:150: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ misc/python/materialize/ci_util/upload_debug_symbols_to_polarsignals.py:157: error: Missing positional argument "self" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
zulip (https://github.com/zulip/zulip)
+ zerver/lib/cache.py:782: error: "_lru_cache_wrapper" expects 2 type arguments, but 1 given [type-arg]
+ zerver/lib/cache.py:805: error: Unused "type: ignore" comment [unused-ignore]
pandas (https://github.com/pandas-dev/pandas)
+ pandas/core/dtypes/cast.py:490: error: Unused "type: ignore" comment [unused-ignore]
+ pandas/core/arrays/base.py:2629: error: Missing positional argument "is_numeric" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ pandas/core/arrays/base.py:2629: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[WrappedCythonOp]" [arg-type]
+ pandas/core/arrays/base.py:2629: error: Argument 3 to "__call__" of "_lru_cache_wrapper" has incompatible type "dtype[object_ | Any]"; expected "str" [arg-type]
+ pandas/core/arrays/base.py:2629: error: Argument 4 to "__call__" of "_lru_cache_wrapper" has incompatible type "bool"; expected "dtype[Any]" [arg-type]
+ pandas/core/apply.py:1109: error: Unused "type: ignore" comment [unused-ignore]
+ pandas/core/groupby/ops.py:409: error: Missing positional argument "is_numeric" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ pandas/core/groupby/ops.py:409: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "type[WrappedCythonOp]" [arg-type]
+ pandas/core/groupby/ops.py:409: error: Argument 3 to "__call__" of "_lru_cache_wrapper" has incompatible type "dtype[Any]"; expected "str" [arg-type]
+ pandas/core/groupby/ops.py:409: error: Argument 4 to "__call__" of "_lru_cache_wrapper" has incompatible type "bool"; expected "dtype[Any]" [arg-type]
poetry (https://github.com/python-poetry/poetry)
+ src/poetry/utils/password_manager.py:66: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ src/poetry/utils/password_manager.py:197: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ src/poetry/repositories/legacy_repository.py:154: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_single_page_repository.py:47: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_single_page_repository.py:76: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:42: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:55: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:66: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:76: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:117: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:556: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:566: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:575: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:593: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/repositories/test_legacy_repository.py:629: error: Argument 1 to "__call__" of "_lru_cache_wrapper" has incompatible type "str"; expected "NormalizedName" [arg-type]
+ tests/utils/test_password_manager.py:30: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/utils/test_password_manager.py:62: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/utils/test_password_manager.py:80: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/utils/test_password_manager.py:92: error: Missing positional argument "cls" in call to "__call__" of "_lru_cache_wrapper" [call-arg]
+ tests/utils/test_password_manager.py:106:
... (truncated 465 lines) ...
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
Failures are unrelated.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉