[PWGEM,PWGHF,Trigger] Fix O2linter warnings #18326
Triggered via pull request
October 7, 2025 11:50
mhemmer-cern
synchronize
#13264
Status
Failure
Total duration
18s
Artifacts
–
Annotations
10 errors and 2 notices
|
[name/function-variable]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L90
Use lowerCamelCase for names of functions and variables.
|
|
[name/function-variable]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L80
Use lowerCamelCase for names of functions and variables.
|
|
[name/function-variable]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L79
Use lowerCamelCase for names of functions and variables.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L614
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L599
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L591
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L583
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L470
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L277
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h#L274
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
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.
|