Placate ruff 0.16.5 #1171
Annotations
10 errors and 3 warnings
|
basedpyright:
pudb/shell.py#L117
Argument of type "SetPropagatingDict" cannot be assigned to parameter "locals" of type "dict[str, Any] | None" in function "__init__"
Type "SetPropagatingDict" is not assignable to type "dict[str, Any] | None"
"SetPropagatingDict" is not assignable to "dict[str, Any]"
"SetPropagatingDict" is not assignable to "None" (reportArgumentType)
|
|
basedpyright:
pudb/shell.py#L108
Argument of type "SetPropagatingDict" cannot be assigned to parameter "namespace" of type "dict[str, Any] | None" in function "__init__"
Type "SetPropagatingDict" is not assignable to type "dict[str, Any] | None"
"SetPropagatingDict" is not assignable to "dict[str, Any]"
"SetPropagatingDict" is not assignable to "None" (reportArgumentType)
|
|
basedpyright:
pudb/shell.py#L63
Argument of type "Self@SetPropagatingDict" cannot be assigned to parameter "self" of type "dict[Unknown, Unknown]" in function "__delitem__"
"SetPropagatingDict*" is not assignable to "dict[Unknown, Unknown]" (reportArgumentType)
|
|
basedpyright:
pudb/shell.py#L59
Argument of type "Self@SetPropagatingDict" cannot be assigned to parameter "self" of type "dict[Unknown, Unknown]" in function "__setitem__"
"SetPropagatingDict*" is not assignable to "dict[Unknown, Unknown]" (reportArgumentType)
|
|
basedpyright:
pudb/shell.py#L52
Argument of type "Self@SetPropagatingDict" cannot be assigned to parameter "self" of type "dict[str, Unknown]" in function "__init__"
"SetPropagatingDict*" is not assignable to "dict[str, Unknown]" (reportArgumentType)
|
|
basedpyright:
pudb/shell.py#L52
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
|
basedpyright:
pudb/shell.py#L35
Expected type arguments for generic class "UserDict" (reportMissingTypeArgument)
|
|
basedpyright:
pudb/debugger.py#L2038
Argument of type "SetPropagatingDict" cannot be assigned to parameter "globals" of type "dict[str, Any] | None" in function "eval"
Type "SetPropagatingDict" is not assignable to type "dict[str, Any] | None"
"SetPropagatingDict" is not assignable to "dict[str, Any]"
"SetPropagatingDict" is not assignable to "None" (reportArgumentType)
|
|
basedpyright:
examples/shell.py#L48
Argument of type "SetPropagatingDict" cannot be assigned to parameter "locals" of type "dict[str, Any] | None" in function "__init__"
Type "SetPropagatingDict" is not assignable to type "dict[str, Any] | None"
"SetPropagatingDict" is not assignable to "dict[str, Any]"
"SetPropagatingDict" is not assignable to "None" (reportArgumentType)
|
|
basedpyright:
examples/shell.py#L43
Argument of type "SetPropagatingDict" cannot be assigned to parameter "namespace" of type "dict[str, Any] | None" in function "__init__"
Type "SetPropagatingDict" is not assignable to type "dict[str, Any] | None"
"SetPropagatingDict" is not assignable to "dict[str, Any]"
"SetPropagatingDict" is not assignable to "None" (reportArgumentType)
|
|
basedpyright:
pudb/ipython.py#L59
Type of "__class__" is Any (reportAny)
|
|
basedpyright:
pudb/ipython.py#L58
Type of "ip" is Any (reportAny)
|
|
basedpyright:
pudb/ipython.py#L6
Type of "get_ipython" is Any (reportAny)
|