Skip to content

[cppyy] Disallow conversion from C++ instance to function pointers #27217

[cppyy] Disallow conversion from C++ instance to function pointers

[cppyy] Disallow conversion from C++ instance to function pointers #27217

Triggered via pull request December 11, 2025 15:21
Status Failure
Total duration 1m 1s
Artifacts

code_analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
ruff
Process completed with exit code 123.
ruff
Formatting failed. To apply the changes locally, run the following command:
Ruff (F821): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L161
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:161:18: F821 Undefined name `slice_const`
Ruff (E741): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L139
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:139:13: E741 Ambiguous variable name: `l`
Ruff (F841): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L137
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:137:15: F841 Local variable `median` is assigned to but never used
Ruff (I001): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L133
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:133:9: I001 Import block is un-sorted or un-formatted
Ruff (E401): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L133
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:133:9: E401 Multiple imports on one line
Ruff (F841): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L76
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:76:9: F841 Local variable `bb_ol` is assigned to but never used
Ruff (F401): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L3
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:3:21: F401 `support.setup_make` imported but unused
Ruff (F401): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L1
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:1:8: F401 `py` imported but unused
Ruff (I001): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L1
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (E401): bindings/pyroot/cppyy/cppyy/test/test_overloads.py#L1
bindings/pyroot/cppyy/cppyy/test/test_overloads.py:1:1: E401 Multiple imports on one line
clang-format
Process completed with exit code 1.
ruff
Could not parse version from /home/runner/work/root/root/pyproject.toml. Using latest version.