[PWGDQ] fix linter errors #32382
Triggered via pull request
August 5, 2026 20:32
aferrero2707
synchronize
#17352
Status
Failure
Total duration
23s
Artifacts
–
Annotations
10 errors, 1 warning, and 2 notices
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L1526
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L1506
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L1397
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L1369
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L1321
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L730
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L727
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L724
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L721
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGDQ/Tasks/muonGlobalAlignment.cxx#L281
Use constant references for non-modified iterators in range-based for loops.
|
|
O2 linter
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: thollander/actions-comment-pull-request@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
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.
|