Skip to content

fix(security): replace unsafe expression evaluator with simpleeval #3366

fix(security): replace unsafe expression evaluator with simpleeval

fix(security): replace unsafe expression evaluator with simpleeval #3366

Triggered via pull request March 21, 2026 11:50
Status Failure
Total duration 7m 49s
Artifacts

pyright.yml

on: pull_request
Matrix: pyright
Fit to window
Zoom out
Zoom in

Annotations

5 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