[PWGLF,Tutorial] [PWGMM] Modified the tutorial code for learning #22707
Triggered via pull request
January 8, 2026 07:02
dibakardhar07
opened
#14424
Status
Failure
Total duration
15s
Artifacts
–
Annotations
10 errors and 2 notices
|
[magic-number]:
Tutorials/PWGMM/myExampleTask.cxx#L117
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
Tutorials/PWGMM/myExampleTask.cxx#L112
Use constant references for non-modified iterators in range-based for loops.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L124
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L123
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L122
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L121
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L87
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L86
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L85
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
Tutorials/PWGMM/myExampleTask.cxx#L84
Use std:: prefix for names from the std namespace.
|
|
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.
|