Skip to content

[Common] Small bug fix #20876

[Common] Small bug fix

[Common] Small bug fix #20876

Triggered via pull request November 21, 2025 08:51
@ppoavappoava
opened #13916
Status Failure
Total duration 17s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
12s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[magic-number]: Common/Tasks/qaMuon.cxx#L532
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: Common/Tasks/qaMuon.cxx#L530
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: Common/Tasks/qaMuon.cxx#L526
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: Common/Tasks/qaMuon.cxx#L508
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: Common/Tasks/qaMuon.cxx#L2478
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: Common/Tasks/qaMuon.cxx#L2314
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: Common/Tasks/qaMuon.cxx#L2278
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: Common/Tasks/qaMuon.cxx#L2242
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: Common/Tasks/qaMuon.cxx#L2194
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: Common/Tasks/qaMuon.cxx#L1114
Use constant references for non-modified iterators in range-based for loops.
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.