[PWGEM,Photon] Clean up code base #32925
Triggered via pull request
August 17, 2026 18:58
mhemmer-cern
opened
#17485
Status
Failure
Total duration
19s
Artifacts
–
Annotations
10 errors, 1 warning, and 2 notices
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L801
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L788
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L780
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L772
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L662
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/PHOSPhotonCut.h#L68
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/PHOSPhotonCut.h#L65
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/PHOSPhotonCut.h#L61
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[std-prefix]:
PWGEM/PhotonMeson/Core/PHOSPhotonCut.h#L61
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGEM/PhotonMeson/Core/PHOSPhotonCut.h#L58
Use std:: prefix for names from the std namespace.
|
|
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.
|