fix(security): replace unsafe expression evaluator with simpleeval #3373
Annotations
9 errors
|
pyright (3.9)
3 errors
|
|
pyright (3.9):
ardupilot_methodic_configurator/data_model_configuration_step.py#L303
Type "object" is not assignable to declared type "str"
"object" is not assignable to "str" (reportAssignmentType)
|
|
pyright (3.9):
ardupilot_methodic_configurator/backend_filesystem_configuration_steps.py#L240
Argument of type "Unknown | str | object" cannot be assigned to parameter "x" of type "ConvertibleToFloat" in function "__new__"
Type "Unknown | str | object" is not assignable to type "ConvertibleToFloat"
Type "object" is not assignable to type "ConvertibleToFloat"
"object" is not assignable to "str"
"object" is incompatible with protocol "Buffer"
"__buffer__" is not present
"object" is incompatible with protocol "SupportsFloat"
"__float__" is not present
"object" is incompatible with protocol "SupportsIndex" (reportArgumentType)
|
|
pyright (3.9):
ardupilot_methodic_configurator/backend_filesystem_configuration_steps.py#L240
Argument of type "Unknown | str | object" cannot be assigned to parameter "x" of type "ConvertibleToFloat" in function "__new__"
Type "Unknown | str | object" is not assignable to type "ConvertibleToFloat"
Type "object" is not assignable to type "ConvertibleToFloat"
"object" is not assignable to "str"
"object" is incompatible with protocol "Buffer"
"__buffer__" is not present
"object" is incompatible with protocol "SupportsFloat"
"__float__" is not present
"object" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|
|
pyright (3.14)
The strategy configuration was canceled because "pyright._3_9" failed
|
|
pyright (3.14)
3 errors
|
|
pyright (3.14):
ardupilot_methodic_configurator/data_model_configuration_step.py#L303
Type "object" is not assignable to declared type "str"
"object" is not assignable to "str" (reportAssignmentType)
|
|
pyright (3.14):
ardupilot_methodic_configurator/backend_filesystem_configuration_steps.py#L240
Argument of type "Unknown | str | object" cannot be assigned to parameter "x" of type "ConvertibleToFloat" in function "__new__"
Type "Unknown | str | object" is not assignable to type "ConvertibleToFloat"
Type "object" is not assignable to type "ConvertibleToFloat"
"object" is not assignable to "str"
"object" is incompatible with protocol "Buffer"
"__buffer__" is not present
"object" is incompatible with protocol "SupportsFloat"
"__float__" is not present
"object" is incompatible with protocol "SupportsIndex" (reportArgumentType)
|
|
pyright (3.14):
ardupilot_methodic_configurator/backend_filesystem_configuration_steps.py#L240
Argument of type "Unknown | str | object" cannot be assigned to parameter "x" of type "ConvertibleToFloat" in function "__new__"
Type "Unknown | str | object" is not assignable to type "ConvertibleToFloat"
Type "object" is not assignable to type "ConvertibleToFloat"
"object" is not assignable to "str"
"object" is incompatible with protocol "Buffer"
"__buffer__" is not present
"object" is incompatible with protocol "SupportsFloat"
"__float__" is not present
"object" is incompatible with protocol "SupportsIndex"
... (reportArgumentType)
|